9 references to DoesNotContain
Microsoft.DotNet.XUnitAssert.Tests (9)
Asserts\SpanAssertsTests.cs (3)
200
Assert.
DoesNotContain
("hey".Spanify(), "Hello, world!".Spanify());
212
Assert.
DoesNotContain
("WORLD".Spanify(), "Hello, world!".Spanify());
263
var ex = Record.Exception(() => Assert.
DoesNotContain
("world".Spanify(), "Hello, world!".Spanify()));
Asserts\StringAssertsTests.cs (6)
148
Assert.
DoesNotContain
("hey".Spanify(), "Hello, world!".Spanify());
162
Assert.
DoesNotContain
("WORLD".Spanify(), "Hello, world!".Spanify());
190
verify(() => Assert.
DoesNotContain
("world".Spanify(), "Hello, world!".Spanify()));
224
verify(() => Assert.
DoesNotContain
("world".Spanify(), "Hello, world from a very long string that will end up being truncated".Spanify()));
252
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()));
280
verify(() => Assert.
DoesNotContain
("world".Spanify(), "This is a relatively long string that will from the front truncated, just to say 'Hello, world'".Spanify()));