9 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (9)
Asserts\SpanAssertsTests.cs (5)
422
Assert.
EndsWith
("world!".Spanify(), "Hello, world!".Spanify());
444
assertFailure(() => Assert.
EndsWith
("hey".Spanify(), "Hello, world!".Spanify()));
466
assertFailure(() => Assert.
EndsWith
("WORLD!".Spanify(), "world!".Spanify()));
495
assertFailure(() => Assert.
EndsWith
("foo".Spanify(), null));
520
assertFailure(() => Assert.
EndsWith
(expected.Spanify(), actual.Spanify()));
Asserts\StringAssertsTests.cs (4)
413
Assert.
EndsWith
("world!".Spanify(), "Hello, world!".Spanify());
440
verify(() => Assert.
EndsWith
("hey".Spanify(), "Hello, world!".Spanify()));
467
verify(() => Assert.
EndsWith
("WORLD!".Spanify(), "world!".Spanify()));
525
verify(() => Assert.
EndsWith
(expected.Spanify(), actual.Spanify()));