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