Method ForMismatchedCollections
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForMismatchedCollections(int?, string, int?, string?, string, int?, string?, string?)
Creates a new instance of EqualException to be thrown when two collections are not equal.
public static EqualException ForMismatchedCollections(int? mismatchedIndex, string expected, int? expectedPointer, string? expectedType, string actual, int? actualPointer, string? actualType, string? collectionDisplay = null)
Parameters
mismatchedIndexint?The index at which the collections differ
expectedstringThe expected collection
expectedPointerint?The spacing into the expected collection where the difference occurs
expectedTypestringThe type of the expected collection items, when they differ in type
actualstringThe actual collection
actualPointerint?The spacing into the actual collection where the difference occurs
actualTypestringThe type of the actual collection items, when they differ in type
collectionDisplaystringThe display name for the collection type (defaults to "Collections")