8 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (8)
MemoryAssertsTests.cs (4)
424
Assert.
EndsWith
("world!".AsMemory(), "Hello, world!".AsMemory());
446
assertFailure(() => Assert.
EndsWith
("hey".AsMemory(), "Hello, world!".AsMemory()));
468
assertFailure(() => Assert.
EndsWith
("WORLD!".AsMemory(), "world!".AsMemory()));
522
assertFailure(() => Assert.
EndsWith
(expected.AsMemory(), actual.AsMemory()));
StringAssertsTests.cs (4)
436
Assert.
EndsWith
("world!".AsMemory(), "Hello, world!".AsMemory());
465
verify(() => Assert.
EndsWith
("hey".AsMemory(), "Hello, world!".AsMemory()));
494
verify(() => Assert.
EndsWith
("WORLD!".AsMemory(), "world!".AsMemory()));
556
verify(() => Assert.
EndsWith
(expected.AsMemory(), actual.AsMemory()));