9 references to StartsWith
Microsoft.DotNet.XUnitAssert.Tests (9)
Asserts\SpanAssertsTests.cs (5)
847 Assert.StartsWith("Hello".Spanify(), "Hello, world!".Spanify()); 869 assertFailure(() => Assert.StartsWith("hey".Spanify(), "Hello, world!".Spanify())); 891 assertFailure(() => Assert.StartsWith("WORLD!".Spanify(), "world!".Spanify())); 920 assertFailure(() => Assert.StartsWith("foo".Spanify(), null)); 945 assertFailure(() => Assert.StartsWith(expected.Spanify(), actual.Spanify()));
Asserts\StringAssertsTests.cs (4)
1049 Assert.StartsWith("Hello".Spanify(), "Hello, world!".Spanify()); 1076 verify(() => Assert.StartsWith("hey".Spanify(), "Hello, world!".Spanify())); 1103 verify(() => Assert.StartsWith("WORLD!".Spanify(), "world!".Spanify())); 1161 verify(() => Assert.StartsWith(expected.Spanify(), actual.Spanify()));