6 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (6)
StringAssertsTests.cs (6)
155 Assert.DoesNotContain("hey".AsMemory(), "Hello, world!".Memoryify()); 171 Assert.DoesNotContain("WORLD".AsMemory(), "Hello, world!".Memoryify()); 201 verify(() => Assert.DoesNotContain("world".AsMemory(), "Hello, world!".Memoryify())); 237 verify(() => Assert.DoesNotContain("world".AsMemory(), "Hello, world from a very long string that will end up being truncated".Memoryify())); 267 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())); 297 verify(() => Assert.DoesNotContain("world".AsMemory(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".Memoryify()));