IntelliTect / TestTools

A collection of tools for aiding in test automation
MIT License
10 stars 7 forks source link

Compare \n vs \r\n throws exception even with replaceCRLF set to true #39

Closed MarkMichaelis closed 5 years ago

MarkMichaelis commented 5 years ago

When comparing output using ConsoleAssert.ExecuteLike() if expected text has '\n' and actual has '\r\n, the test fails even thoughreplaceCRLF` is true (default parameter value).

See ConsoleAssertTests.ExecuteLike_GivenVariableCRLFWithNLComparedToCRNL_Success() for failing test in the AllowFuzzyMatchingCRNLWithNL branch.