The resulting message is has removed the ++ from expected and actual strings:
Message:
Test method AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_26B.Tests.ProgramTests.Main_GetLengthOfDimensionOf3DArray_ReturnsLength threw exception:
System.Exception: Values are not equal:-
-----------------------------------
Expected: "Expected: C"
Actual : "Actual: C"
-----------------------------------
When you have an expected or actual value with
++
it gets stripped out of the error message.The resulting message is has removed the
++
from expected and actual strings: