Method ForSubSpanFound
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForSubSpanFound(string, int, int?, string)
Creates a new instance of the DoesNotContainException class to be thrown when the requested sub-span was found in the span.
public static DoesNotContainException ForSubSpanFound(string expectedSubSpan, int indexFailurePoint, int? failurePointerIndent, string span)
Parameters
expectedSubSpanstringThe expected sub-span
indexFailurePointintThe item index for where the item was found
failurePointerIndentint?The number of spaces needed to indent the failure pointer
spanstringThe span