Skip to content

Missing negation operator #1783

@kolebynov

Description

@kolebynov

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>));

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions