6 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (6)
Asserts\StringAssertsTests.cs (6)
145 Assert.DoesNotContain("hey".AsMemory(), "Hello, world!".Memoryify());
159 Assert.DoesNotContain("WORLD".AsMemory(), "Hello, world!".Memoryify());
187 verify(() => Assert.DoesNotContain("world".AsMemory(), "Hello, world!".Memoryify()));
221 verify(() => Assert.DoesNotContain("world".AsMemory(), "Hello, world from a very long string that will end up being truncated".Memoryify()));
249 verify(() => Assert.DoesNotContain("world".AsMemory(), "This is a relatively long string that has 'Hello, world' placed in the middle so that we can dual trunaction".Memoryify()));
277 verify(() => Assert.DoesNotContain("world".AsMemory(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".Memoryify()));