6 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (6)
StringAssertsTests.cs (6)
159 Assert.DoesNotContain("hey".AsSpan(), "Hello, world!".Spanify());
175 Assert.DoesNotContain("WORLD".AsSpan(), "Hello, world!".Spanify());
205 verify(() => Assert.DoesNotContain("world".AsSpan(), "Hello, world!".Spanify()));
241 verify(() => Assert.DoesNotContain("world".AsSpan(), "Hello, world from a very long string that will end up being truncated".Spanify()));
271 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()));
301 verify(() => Assert.DoesNotContain("world".AsSpan(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".Spanify()));