Quantcast
Channel: Fluent Assertions
Viewing all articles
Browse latest Browse all 1402

Created Issue: Improved exception message for string comparison [12422]

$
0
0
When comparing long strings, the exception message only tells me that the string is "too short", but it doesn't say how long it is or should have been or where the difference is.

The assertions in NUnit actually gives a better clue here, for instance;
"Expected string length 370 but was 368. Strings differ at index 1."

Viewing all articles
Browse latest Browse all 1402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>