Class MatchesException
Exception thrown when a string does not match a regular expression.
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class MatchesException : XunitException
Constructors
| Improve this Doc View SourceMatchesException(Object, Object)
Creates a new instance of the MatchesException class.
Declaration
public MatchesException(object expectedRegexPattern, object actual)
Parameters
Type | Name | Description |
---|---|---|
Object | expectedRegexPattern | The expected regular expression pattern |
Object | actual | The actual value |