Skip to content
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

More correct string inequality error message #427

Merged
merged 1 commit into from
Oct 5, 2021

Conversation

raboof
Copy link
Contributor

@raboof raboof commented Oct 5, 2021

The current logic may claim values have the same toString()
when they don't. The 'full' solution would of course be to
have a 'strict' string diff, but until then let's at least
not lie about it.

Fixes #152

The current logic may claim values have the same `toString()`
when they don't. The 'full' solution would of course be to
have a 'strict' string diff, but until then let's at least
not lie about it.

Fixes scalameta#152
Copy link
Member

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Thank you! I agree the new message is better

@olafurpg olafurpg enabled auto-merge (squash) October 5, 2021 13:07
@olafurpg olafurpg merged commit b8bcd93 into scalameta:main Oct 5, 2021
@som-snytt
Copy link

Just getting (re-)acquainted with munit today, and I needed this fix so bad. My expected was missing a trailing newline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fail exception report is incorrect
3 participants