8 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (8)
SpanAssertsTests.cs (4)
426 Assert.EndsWith("world!".Spanify(), "Hello, world!".AsSpan()); 448 assertFailure(() => Assert.EndsWith("hey".Spanify(), "Hello, world!".AsSpan())); 470 assertFailure(() => Assert.EndsWith("WORLD!".Spanify(), "world!".AsSpan())); 524 assertFailure(() => Assert.EndsWith(expected.Spanify(), actual.AsSpan()));
StringAssertsTests.cs (4)
439 Assert.EndsWith("world!".Spanify(), "Hello, world!".AsSpan()); 468 verify(() => Assert.EndsWith("hey".Spanify(), "Hello, world!".AsSpan())); 497 verify(() => Assert.EndsWith("WORLD!".Spanify(), "world!".AsSpan())); 559 verify(() => Assert.EndsWith(expected.Spanify(), actual.AsSpan()));