Skip to content

Is Assert.DoesNotContain(object, IEnumerable) supposed to call the GetEnumerator of items in collection? #2611

Discussion options

You must be logged in to vote

Looks like an issue (Issue #2612 )was opened for this because of my confusion, but I'll mention that the response on twitter suggested using IEquatable<T> to resolve this for now.

https://twitter.com/xunit/status/1586419335207464961

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bradwilson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant