8 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (8)
SpanAssertsTests.cs (4)
424
Assert.
EndsWith
("world!".AsSpan(), "Hello, world!".AsSpan());
446
assertFailure(() => Assert.
EndsWith
("hey".AsSpan(), "Hello, world!".AsSpan()));
468
assertFailure(() => Assert.
EndsWith
("WORLD!".AsSpan(), "world!".AsSpan()));
522
assertFailure(() => Assert.
EndsWith
(expected.AsSpan(), actual.AsSpan()));
StringAssertsTests.cs (4)
440
Assert.
EndsWith
("world!".AsSpan(), "Hello, world!".AsSpan());
469
verify(() => Assert.
EndsWith
("hey".AsSpan(), "Hello, world!".AsSpan()));
498
verify(() => Assert.
EndsWith
("WORLD!".AsSpan(), "world!".AsSpan()));
560
verify(() => Assert.
EndsWith
(expected.AsSpan(), actual.AsSpan()));