Method ForMatchNotFound
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForMatchNotFound(string, string?)
Creates a new instance of the MatchesException class to be thrown when the regular expression pattern isn't found within the value.
public static MatchesException ForMatchNotFound(string expectedRegexPattern, string? actual)