-
-
Notifications
You must be signed in to change notification settings - Fork 511
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
chore: use require instead of t.Fatal #2855
chore: use require instead of t.Fatal #2855
Conversation
✅ Deploy Preview for testcontainers-go ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
44d6717
to
be2a5d8
Compare
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
be2a5d8
to
8424fb2
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.
Just a few comments, regarding the usage of require.Zero, other than that, LGTM
Co-authored-by: Manuel de la Peña <social.mdelapenya@gmail.com>
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, thanks!
* main: chore: use require instead of t.Fatal (testcontainers#2855)
What does this PR do?
This uses
require
instead oft.Fatal
callsWhy is it important?
This reduce the number of lines required to make an assertion.
It also make the assertion easier to understand.
Related issues