You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure if this is a bug in FluentAssertions, and I went through the migration notes regarding Enums. I'm reporting it just in case. Note that the original code that lead to this issue is not as obvious as this one (e.g. the convertion to ushort) - this is just a simple repro.
With 5.10.3, the following code executed without problems:
After upgrading to 6.1.0, we get this exception: FluentAssertions.Execution.AssertionFailedException: 'Expected dict to contain value Severity.High {value: 1} at key "/Severity", but found 1us.'
I'm unsure if this is a bug in FluentAssertions, and I went through the migration notes regarding Enums. I'm reporting it just in case. Note that the original code that lead to this issue is not as obvious as this one (e.g. the convertion to ushort) - this is just a simple repro.
With 5.10.3, the following code executed without problems:
After upgrading to 6.1.0, we get this exception:
FluentAssertions.Execution.AssertionFailedException: 'Expected dict to contain value Severity.High {value: 1} at key "/Severity", but found 1us.'
To solve the issue, the following works:
Environment:
.NET Core 3.1, VS2019, Windows.
The text was updated successfully, but these errors were encountered: