Table of Contents

Method ForCollectionFilterMatched

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

ForCollectionFilterMatched(int, int?, string)

Creates a new instance of the DoesNotContainException class to be thrown when the requested filter matches an item in the collection.

public static DoesNotContainException ForCollectionFilterMatched(int indexFailurePoint, int? failurePointerIndent, string collection)

Parameters

indexFailurePoint int

The item index for where the item was found

failurePointerIndent int?

The number of spaces needed to indent the failure pointer

collection string

The collection

Returns