7 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (7)
Asserts\SpanAssertsTests.cs (1)
284 Assert.DoesNotContain("foo".Spanify(), default(string).AsSpan());
Asserts\StringAssertsTests.cs (6)
150 Assert.DoesNotContain("hey".Spanify(), "Hello, world!".AsSpan()); 164 Assert.DoesNotContain("WORLD".Spanify(), "Hello, world!".AsSpan()); 192 verify(() => Assert.DoesNotContain("world".Spanify(), "Hello, world!".AsSpan())); 226 verify(() => Assert.DoesNotContain("world".Spanify(), "Hello, world from a very long string that will end up being truncated".AsSpan())); 254 verify(() => Assert.DoesNotContain("world".Spanify(), "This is a relatively long string that has 'Hello, world' placed in the middle so that we can dual trunaction".AsSpan())); 282 verify(() => Assert.DoesNotContain("world".Spanify(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".AsSpan()));