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

Missing negation operator #1783

Closed
kolebynov opened this issue Jan 21, 2022 · 0 comments · Fixed by #1786
Closed

Missing negation operator #1783

kolebynov opened this issue Jan 21, 2022 · 0 comments · Fixed by #1786
Assignees
Labels

Comments

@kolebynov
Copy link

The method FluentAssertions.Common.DictionaryHelpers.TryGetValue works incorrectly for non-dictionary classes, because there is a missing negation operator.

return matchingPair.Equals(default(KeyValuePair<TKey, TValue>));

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

Successfully merging a pull request may close this issue.

2 participants