6 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (6)
Asserts\StringAssertsTests.cs (6)
149 Assert.DoesNotContain("hey".AsSpan(), "Hello, world!".Spanify());
163 Assert.DoesNotContain("WORLD".AsSpan(), "Hello, world!".Spanify());
191 verify(() => Assert.DoesNotContain("world".AsSpan(), "Hello, world!".Spanify()));
225 verify(() => Assert.DoesNotContain("world".AsSpan(), "Hello, world from a very long string that will end up being truncated".Spanify()));
253 verify(() => Assert.DoesNotContain("world".AsSpan(), "This is a relatively long string that has 'Hello, world' placed in the middle so that we can dual trunaction".Spanify()));
281 verify(() => Assert.DoesNotContain("world".AsSpan(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".Spanify()));