8 references to StartsWith
Microsoft.DotNet.XUnitAssert.Tests (8)
Asserts\SpanAssertsTests.cs (4)
846 Assert.StartsWith("Hello".Spanify(), "Hello, world!".AsSpan()); 868 assertFailure(() => Assert.StartsWith("hey".Spanify(), "Hello, world!".AsSpan())); 890 assertFailure(() => Assert.StartsWith("WORLD!".Spanify(), "world!".AsSpan())); 944 assertFailure(() => Assert.StartsWith(expected.Spanify(), actual.AsSpan()));
Asserts\StringAssertsTests.cs (4)
1051 Assert.StartsWith("Hello".Spanify(), "Hello, world!".AsSpan()); 1078 verify(() => Assert.StartsWith("hey".Spanify(), "Hello, world!".AsSpan())); 1105 verify(() => Assert.StartsWith("WORLD!".Spanify(), "world!".AsSpan())); 1163 verify(() => Assert.StartsWith(expected.Spanify(), actual.AsSpan()));