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

CollectionAssertions.NotBeEquivalentTo bug #52

Closed
mijay opened this issue Dec 20, 2013 · 0 comments
Closed

CollectionAssertions.NotBeEquivalentTo bug #52

mijay opened this issue Dec 20, 2013 · 0 comments
Assignees
Milestone

Comments

@mijay
Copy link

mijay commented Dec 20, 2013

The following code:

new[] { "a", "b" }.Should().NotBeEquivalentTo(new[] { "a", "c" })

fails, while the two given collections are obviously non-equal. It seems that NotBeEquivalentTo just checks whether given collections have the same length and are intersecting.

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

No branches or pull requests

2 participants