-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Improve assertion error messages by adding mismatch descriptions #461
base: master
Are you sure you want to change the base?
Improve assertion error messages by adding mismatch descriptions #461
Conversation
3ef9719
to
36b77c7
Compare
Hi @angusholder Any example on how error messages looked before this PR and how it looks with this change? |
Weren't there some tests for the assertion messages? I don't know what's the current status of CI |
For
Now it displays what
|
Look much better! Is there any way, btw, to avoid this ñart?
|
What do you want it to say instead? I think that part is created by JUnit and Hamcrest |
I added overrides for TypeSafeMatcher.describeMismatchSafely() to improve the error messages that Barista gives when the assertion fails