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