Method ForMismatchedStrings
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForMismatchedStrings(string?, string?, int, int)
Creates a new instance of EqualException to be thrown when two string values are not equal.
public static EqualException ForMismatchedStrings(string? expected, string? actual, int expectedIndex, int actualIndex)
Parameters
expectedstringThe expected value
actualstringThe actual value
expectedIndexintThe index point in the expected string where the values differ
actualIndexintThe index point in the actual string where the values differ