14 references to assertFailure
Microsoft.DotNet.XUnitAssert.Tests (14)
SpanAssertsTests.cs (14)
863 assertFailure(() => Assert.StartsWith("hey".AsSpan(), "Hello, world!".AsSpan()));
864 assertFailure(() => Assert.StartsWith("hey".AsSpan(), "Hello, world!".Spanify()));
865 assertFailure(() => Assert.StartsWith("hey".Spanify(), "Hello, world!".AsSpan()));
866 assertFailure(() => Assert.StartsWith("hey".Spanify(), "Hello, world!".Spanify()));
885 assertFailure(() => Assert.StartsWith("WORLD!".AsSpan(), "world!".AsSpan()));
886 assertFailure(() => Assert.StartsWith("WORLD!".AsSpan(), "world!".Spanify()));
887 assertFailure(() => Assert.StartsWith("WORLD!".Spanify(), "world!".AsSpan()));
888 assertFailure(() => Assert.StartsWith("WORLD!".Spanify(), "world!".Spanify()));
916 assertFailure(() => Assert.StartsWith("foo".AsSpan(), null));
917 assertFailure(() => Assert.StartsWith("foo".Spanify(), null));
939 assertFailure(() => Assert.StartsWith(expected.AsSpan(), actual.AsSpan()));
940 assertFailure(() => Assert.StartsWith(expected.AsSpan(), actual.Spanify()));
941 assertFailure(() => Assert.StartsWith(expected.Spanify(), actual.AsSpan()));
942 assertFailure(() => Assert.StartsWith(expected.Spanify(), actual.Spanify()));