9 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (9)
SpanAssertsTests.cs (5)
427
Assert.
EndsWith
("world!".Spanify(), "Hello, world!".Spanify());
449
assertFailure(() => Assert.
EndsWith
("hey".Spanify(), "Hello, world!".Spanify()));
471
assertFailure(() => Assert.
EndsWith
("WORLD!".Spanify(), "world!".Spanify()));
500
assertFailure(() => Assert.
EndsWith
("foo".Spanify(), null));
525
assertFailure(() => Assert.
EndsWith
(expected.Spanify(), actual.Spanify()));
StringAssertsTests.cs (4)
437
Assert.
EndsWith
("world!".Spanify(), "Hello, world!".Spanify());
466
verify(() => Assert.
EndsWith
("hey".Spanify(), "Hello, world!".Spanify()));
495
verify(() => Assert.
EndsWith
("WORLD!".Spanify(), "world!".Spanify()));
557
verify(() => Assert.
EndsWith
(expected.Spanify(), actual.Spanify()));