7 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (7)
SpanAssertsTests.cs (1)
289 Assert.DoesNotContain("foo".Spanify(), default(string).AsSpan());
StringAssertsTests.cs (6)
160 Assert.DoesNotContain("hey".Spanify(), "Hello, world!".AsSpan()); 176 Assert.DoesNotContain("WORLD".Spanify(), "Hello, world!".AsSpan()); 206 verify(() => Assert.DoesNotContain("world".Spanify(), "Hello, world!".AsSpan())); 242 verify(() => Assert.DoesNotContain("world".Spanify(), "Hello, world from a very long string that will end up being truncated".AsSpan())); 272 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())); 302 verify(() => Assert.DoesNotContain("world".Spanify(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".AsSpan()));