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

Don't show diff if comparing with an empty collection #173

Open
mcmire opened this issue Jan 8, 2023 · 0 comments
Open

Don't show diff if comparing with an empty collection #173

mcmire opened this issue Jan 8, 2023 · 0 comments

Comments

@mcmire
Copy link
Collaborator

mcmire commented Jan 8, 2023

If you have a test that verifies that uses eq, and the expected value is a non-empty collection but the actual value ends up being empty, then there's no need to display a diff showing that everything in that collection has been "removed". That's pretty obvious from the initial message.

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

No branches or pull requests

1 participant