1
Vote

String comparison with 'ignore whitespace'

description

The "Should().BeEquivalentTo()" ignores casing, but it would be great to have an option for ignoring whitespace and tab/carriage return/newline characters as well

comments

dennisdoomen wrote Jan 30 at 4:54 AM

I'm trying to come up with a fluent API for that, but haven't come up with anything other than adding an extra parameter to the existing BeEquivalentTo(). Why don't you use string.Should().Match() instead?