Table of Contents

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

expectedSubMemory string

The expected sub-memory

indexFailurePoint int

The item index for where the item was found

failurePointerIndent int?

The number of spaces needed to indent the failure pointer

memory string

The memory

Returns