10 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (2)
SpanAssertsTests.cs (1)
477
Assert.
EndsWith
("WORLD!".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
StringAssertsTests.cs (1)
514
Assert.
EndsWith
("WORLD!".AsSpan(), "Hello, world!".AsSpan(), StringComparison.OrdinalIgnoreCase);
xunit.assert (8)
StringAsserts.cs (8)
731
EndsWith
(expectedEndString.Span, actualString.Span, comparisonType);
743
EndsWith
((ReadOnlySpan<char>)expectedEndString, (ReadOnlySpan<char>)actualString, StringComparison.CurrentCulture);
754
EndsWith
((ReadOnlySpan<char>)expectedEndString, actualString, StringComparison.CurrentCulture);
765
EndsWith
(expectedEndString, (ReadOnlySpan<char>)actualString, StringComparison.CurrentCulture);
776
EndsWith
(expectedEndString, actualString, StringComparison.CurrentCulture);
789
EndsWith
((ReadOnlySpan<char>)expectedEndString, (ReadOnlySpan<char>)actualString, comparisonType);
802
EndsWith
((ReadOnlySpan<char>)expectedEndString, actualString, comparisonType);
815
EndsWith
(expectedEndString, (ReadOnlySpan<char>)actualString, comparisonType);