The current exception when strings are not equal is:
Expected "bc", but "a" is too short.
This works well when the excepted and actual value are not multiple lines; ie do not have System.Environment.NewLine characters. When the values are multiple lines then the exception message is:
Expected "the qick brown
fox", but "the quick brown
fox" is too long.
In these situation I propose the exception message is changed to:
Expected
"the qick brown
fox"
but
"the quick brown
fox"
is too long.
I purpose the white space in the exception message to make it visually easier to compare the two values.
Comments: Associated with changeset 67315.
Expected "bc", but "a" is too short.
This works well when the excepted and actual value are not multiple lines; ie do not have System.Environment.NewLine characters. When the values are multiple lines then the exception message is:
Expected "the qick brown
fox", but "the quick brown
fox" is too long.
In these situation I propose the exception message is changed to:
Expected
"the qick brown
fox"
but
"the quick brown
fox"
is too long.
I purpose the white space in the exception message to make it visually easier to compare the two values.
Comments: Associated with changeset 67315.