4 references to DoesNotMatch
ConfigurationSchemaGenerator.Tests (1)
GeneratorTests.cs (1)
1378
Assert.
DoesNotMatch
(TimeSpanRegex(), invalidTimeSpanString);
Microsoft.DotNet.XUnitAssert.Tests (3)
StringAssertsTests.cs (3)
373
Assert.Throws<ArgumentNullException>("expectedRegex", () => Assert.
DoesNotMatch
((Regex?)null!, "Hello, world!"));
379
Assert.
DoesNotMatch
(new Regex(@"\d"), "Hello");
385
var ex = Record.Exception(() => Assert.
DoesNotMatch
(new Regex(@"ll"), "Hello, world!"));