14 references to assertFailure
Microsoft.DotNet.XUnitAssert.Tests (14)
Asserts\SpanAssertsTests.cs (14)
441 assertFailure(() => Assert.EndsWith("hey".AsSpan(), "Hello, world!".AsSpan()));
442 assertFailure(() => Assert.EndsWith("hey".AsSpan(), "Hello, world!".Spanify()));
443 assertFailure(() => Assert.EndsWith("hey".Spanify(), "Hello, world!".AsSpan()));
444 assertFailure(() => Assert.EndsWith("hey".Spanify(), "Hello, world!".Spanify()));
463 assertFailure(() => Assert.EndsWith("WORLD!".AsSpan(), "world!".AsSpan()));
464 assertFailure(() => Assert.EndsWith("WORLD!".AsSpan(), "world!".Spanify()));
465 assertFailure(() => Assert.EndsWith("WORLD!".Spanify(), "world!".AsSpan()));
466 assertFailure(() => Assert.EndsWith("WORLD!".Spanify(), "world!".Spanify()));
494 assertFailure(() => Assert.EndsWith("foo".AsSpan(), null));
495 assertFailure(() => Assert.EndsWith("foo".Spanify(), null));
517 assertFailure(() => Assert.EndsWith(expected.AsSpan(), actual.AsSpan()));
518 assertFailure(() => Assert.EndsWith(expected.AsSpan(), actual.Spanify()));
519 assertFailure(() => Assert.EndsWith(expected.Spanify(), actual.AsSpan()));
520 assertFailure(() => Assert.EndsWith(expected.Spanify(), actual.Spanify()));