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

feat: better "obtained empty" help message #502

Merged
merged 2 commits into from
Apr 4, 2022

Conversation

kpodsiad
Copy link
Member

Previously, when one used assertNoDiff and obtained string was empty there was no clue what does expected looks like. Because of that, sometimes it wasn't clear which comparison fails.

Now, in the case when obtained is empty, expected is being printed.

Kamil Podsiadlo added 2 commits March 22, 2022 19:34
Previously, when one used `assertNoDiff` and obtained string was empty there was no clue what does `expected` looks like. Because of that, sometimes it wasn't clear which comparison fails.
Now, in case of `obtained` is empty, `expected` is being printed.
@kpodsiad kpodsiad requested a review from olafurpg March 24, 2022 14:58
@kpodsiad kpodsiad merged commit 535a774 into scalameta:main Apr 4, 2022
@kpodsiad kpodsiad deleted the feat/obtained-empty-msg branch April 4, 2022 19:17
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.

None yet

2 participants