9 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (9)
SpanAssertsTests.cs (5)
425
Assert.
EndsWith
("world!".AsSpan(), "Hello, world!".Spanify());
447
assertFailure(() => Assert.
EndsWith
("hey".AsSpan(), "Hello, world!".Spanify()));
469
assertFailure(() => Assert.
EndsWith
("WORLD!".AsSpan(), "world!".Spanify()));
499
assertFailure(() => Assert.
EndsWith
("foo".AsSpan(), null));
523
assertFailure(() => Assert.
EndsWith
(expected.AsSpan(), actual.Spanify()));
StringAssertsTests.cs (4)
438
Assert.
EndsWith
("world!".AsSpan(), "Hello, world!".Spanify());
467
verify(() => Assert.
EndsWith
("hey".AsSpan(), "Hello, world!".Spanify()));
496
verify(() => Assert.
EndsWith
("WORLD!".AsSpan(), "world!".Spanify()));
558
verify(() => Assert.
EndsWith
(expected.AsSpan(), actual.Spanify()));