9 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (9)
Asserts\SpanAssertsTests.cs (5)
420
Assert.
EndsWith
("world!".AsSpan(), "Hello, world!".Spanify());
442
assertFailure(() => Assert.
EndsWith
("hey".AsSpan(), "Hello, world!".Spanify()));
464
assertFailure(() => Assert.
EndsWith
("WORLD!".AsSpan(), "world!".Spanify()));
494
assertFailure(() => Assert.
EndsWith
("foo".AsSpan(), null));
518
assertFailure(() => Assert.
EndsWith
(expected.AsSpan(), actual.Spanify()));
Asserts\StringAssertsTests.cs (4)
414
Assert.
EndsWith
("world!".AsSpan(), "Hello, world!".Spanify());
441
verify(() => Assert.
EndsWith
("hey".AsSpan(), "Hello, world!".Spanify()));
468
verify(() => Assert.
EndsWith
("WORLD!".AsSpan(), "world!".Spanify()));
526
verify(() => Assert.
EndsWith
(expected.AsSpan(), actual.Spanify()));