9 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (2)
MemoryAssertsTests.cs (1)
477 Assert.EndsWith("WORLD!".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
StringAssertsTests.cs (1)
510 Assert.EndsWith("WORLD!".AsMemory(), "Hello, world!".AsMemory(), StringComparison.OrdinalIgnoreCase);
xunit.assert (7)
StringAsserts.cs (7)
643 EndsWith((ReadOnlyMemory<char>)expectedEndString, (ReadOnlyMemory<char>)actualString, StringComparison.CurrentCulture); 654 EndsWith((ReadOnlyMemory<char>)expectedEndString, actualString, StringComparison.CurrentCulture); 665 EndsWith(expectedEndString, (ReadOnlyMemory<char>)actualString, StringComparison.CurrentCulture); 676 EndsWith(expectedEndString, actualString, StringComparison.CurrentCulture); 689 EndsWith((ReadOnlyMemory<char>)expectedEndString, (ReadOnlyMemory<char>)actualString, comparisonType); 702 EndsWith((ReadOnlyMemory<char>)expectedEndString, actualString, comparisonType); 715 EndsWith(expectedEndString, (ReadOnlyMemory<char>)actualString, comparisonType);