9 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (9)
SpanAssertsTests.cs (3)
205 Assert.DoesNotContain("hey".Spanify(), "Hello, world!".Spanify()); 217 Assert.DoesNotContain("WORLD".Spanify(), "Hello, world!".Spanify()); 268 var ex = Record.Exception(() => Assert.DoesNotContain("world".Spanify(), "Hello, world!".Spanify()));
StringAssertsTests.cs (6)
158 Assert.DoesNotContain("hey".Spanify(), "Hello, world!".Spanify()); 174 Assert.DoesNotContain("WORLD".Spanify(), "Hello, world!".Spanify()); 204 verify(() => Assert.DoesNotContain("world".Spanify(), "Hello, world!".Spanify())); 240 verify(() => Assert.DoesNotContain("world".Spanify(), "Hello, world from a very long string that will end up being truncated".Spanify())); 270 verify(() => Assert.DoesNotContain("world".Spanify(), "This is a relatively long string that has 'Hello, world' placed in the middle so that we can dual trunaction".Spanify())); 300 verify(() => Assert.DoesNotContain("world".Spanify(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".Spanify()));