-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: use t.Cleanup instead of defer #402
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generally like the changes... additional changes in case_integration_test.go
required to make it compilable and runnable. Otherwise I think we are good to go
9e98e54
to
8d0a48c
Compare
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Ken Sipe <kensipe@gmail.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Ken Sipe <kensipe@gmail.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
c0d63b3
to
3387978
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Using `testing.T.Cleanup` instead of `defer` where appropriate Co-authored-by: Ken Sipe <kensipe@gmail.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Israel Blancas <iblancasa@gmail.com>
What this PR does / why we need it:
This PR makes use
t.Cleanup
instead ofdefer
.