14 references to assertFailure
Microsoft.DotNet.XUnitAssert.Tests (14)
SpanAssertsTests.cs (14)
446 assertFailure(() => Assert.EndsWith("hey".AsSpan(), "Hello, world!".AsSpan()));
447 assertFailure(() => Assert.EndsWith("hey".AsSpan(), "Hello, world!".Spanify()));
448 assertFailure(() => Assert.EndsWith("hey".Spanify(), "Hello, world!".AsSpan()));
449 assertFailure(() => Assert.EndsWith("hey".Spanify(), "Hello, world!".Spanify()));
468 assertFailure(() => Assert.EndsWith("WORLD!".AsSpan(), "world!".AsSpan()));
469 assertFailure(() => Assert.EndsWith("WORLD!".AsSpan(), "world!".Spanify()));
470 assertFailure(() => Assert.EndsWith("WORLD!".Spanify(), "world!".AsSpan()));
471 assertFailure(() => Assert.EndsWith("WORLD!".Spanify(), "world!".Spanify()));
499 assertFailure(() => Assert.EndsWith("foo".AsSpan(), null));
500 assertFailure(() => Assert.EndsWith("foo".Spanify(), null));
522 assertFailure(() => Assert.EndsWith(expected.AsSpan(), actual.AsSpan()));
523 assertFailure(() => Assert.EndsWith(expected.AsSpan(), actual.Spanify()));
524 assertFailure(() => Assert.EndsWith(expected.Spanify(), actual.AsSpan()));
525 assertFailure(() => Assert.EndsWith(expected.Spanify(), actual.Spanify()));