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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Func<ValueTask> and Func<ValueTask<T>> now have their own Should overloads, so Throw, NotThrow, ThrowAsync and NotThrowAsync see the exception (#22). .Which after NotThrow() on a Func<ValueTask<T>> is now T instead of the ValueTask, and the sync Throw and NotThrow run the delegate on a thread-pool thread.
Failure messages cut each string and each ToString result at 200 characters, and sequences that do not know their size are no longer walked to the end (#24). A cut never splits a surrogate pair.
Half.NaN.Should().BeLessThan(...) and the other three ordering assertions on values without a numeric Should overload now fail when either side is NaN (#25).
BeEquivalentTo stays fast on graphs that share references and on large unordered collections of types with their own equality (#23).