6 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (6)
StringAssertsTests.cs (6)
156 Assert.DoesNotContain("hey".Memoryify(), "Hello, world!".AsMemory());
172 Assert.DoesNotContain("WORLD".Memoryify(), "Hello, world!".AsMemory());
202 verify(() => Assert.DoesNotContain("world".Memoryify(), "Hello, world!".AsMemory()));
238 verify(() => Assert.DoesNotContain("world".Memoryify(), "Hello, world from a very long string that will end up being truncated".AsMemory()));
268 verify(() => Assert.DoesNotContain("world".Memoryify(), "This is a relatively long string that has 'Hello, world' placed in the middle so that we can dual trunaction".AsMemory()));
298 verify(() => Assert.DoesNotContain("world".Memoryify(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".AsMemory()));