-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Use assert
in image
package unit tests
#31531
Conversation
5ac41c7
to
d63f91b
Compare
assert
im image
package unit testsassert
in image
package unit tests
SGTM but windowsRS1 failing
|
d63f91b
to
9e1ae25
Compare
I wrapped the errors and fixed the assertions, so part of the error should be consistent between platforms now. |
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Signed-off-by: Daniel Nephin <dnephin@docker.com>
9e1ae25
to
7abeb08
Compare
Signed-off-by: Daniel Nephin <dnephin@docker.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
cc @vdemeester
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 🐯
Some misc cleanup
image/
assert.*
in the tests to make them more readable, and also for better assertions when an error is expected. Now a specific error message is expected.