Description
The currentBeEquivalentTo() method asserts that a string is exactly the same as another string, including any leading or trailing whitespace, with the exception of the casing.
It would be very useful to add a new method or extend this method to support also \n and \r\n.
Complete minimal example reproducing the issue
// Arrange
string expected= "foo\r\n";
// Act
string result = "foo\n";
// Assert
result.Should().BeEquivalentTo(expected);
Expected behavior:
Assertion is OK
Actual behavior:
Assertion FAILS
Versions