9 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (9)
MemoryAssertsTests.cs (5)
425
Assert.
EndsWith
("world!".AsMemory(), "Hello, world!".Memoryify());
447
assertFailure(() => Assert.
EndsWith
("hey".AsMemory(), "Hello, world!".Memoryify()));
469
assertFailure(() => Assert.
EndsWith
("WORLD!".AsMemory(), "world!".Memoryify()));
499
assertFailure(() => Assert.
EndsWith
("foo".AsMemory(), null));
523
assertFailure(() => Assert.
EndsWith
(expected.AsMemory(), actual.Memoryify()));
StringAssertsTests.cs (4)
434
Assert.
EndsWith
("world!".AsMemory(), "Hello, world!".Memoryify());
463
verify(() => Assert.
EndsWith
("hey".AsMemory(), "Hello, world!".Memoryify()));
492
verify(() => Assert.
EndsWith
("WORLD!".AsMemory(), "world!".Memoryify()));
554
verify(() => Assert.
EndsWith
(expected.AsMemory(), actual.Memoryify()));