8 references to EndsWith
Microsoft.DotNet.XUnitAssert.Tests (8)
Asserts\SpanAssertsTests.cs (4)
421
Assert.
EndsWith
("world!".Spanify(), "Hello, world!".AsSpan());
443
assertFailure(() => Assert.
EndsWith
("hey".Spanify(), "Hello, world!".AsSpan()));
465
assertFailure(() => Assert.
EndsWith
("WORLD!".Spanify(), "world!".AsSpan()));
519
assertFailure(() => Assert.
EndsWith
(expected.Spanify(), actual.AsSpan()));
Asserts\StringAssertsTests.cs (4)
415
Assert.
EndsWith
("world!".Spanify(), "Hello, world!".AsSpan());
442
verify(() => Assert.
EndsWith
("hey".Spanify(), "Hello, world!".AsSpan()));
469
verify(() => Assert.
EndsWith
("WORLD!".Spanify(), "world!".AsSpan()));
527
verify(() => Assert.
EndsWith
(expected.Spanify(), actual.AsSpan()));