7 references to ShortenAndEncodeString
xunit.assert (7)
Sdk\AssertHelper.cs (2)
269
return
ShortenAndEncodeString
(value, 0, out pointerIndent);
280
return
ShortenAndEncodeString
(value, (value?.Length - 1) ?? 0, out pointerIndent);
Sdk\Exceptions\DoesNotContainException.cs (1)
194
var encodedString = AssertHelper.
ShortenAndEncodeString
(@string, indexFailurePoint, out failurePointerIndent);
Sdk\Exceptions\EqualException.cs (2)
158
var formattedExpected = AssertHelper.
ShortenAndEncodeString
(expected, expectedIndex, out expectedPointer);
159
var formattedActual = AssertHelper.
ShortenAndEncodeString
(actual, actualIndex, out actualPointer);
StringAsserts.cs (2)
544
var formattedActual = AssertHelper.
ShortenAndEncodeString
(actualString, match.Index, out pointerIndent);
574
var formattedActual = AssertHelper.
ShortenAndEncodeString
(actualString, match.Index, out pointerIndent);