Class MatchesException
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
Exception thrown when Assert.Matches fails.
public class MatchesException : XunitException, ISerializable, IAssertionException
- Inheritance
-
MatchesException
- Implements
- Inherited Members
Methods
- 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.