Show / Hide Table of Contents

Class DoesNotMatchException

Exception thrown when a string unexpectedly matches a regular expression.

Inheritance
Object
XunitException
DoesNotMatchException
Inherited Members
XunitException.StackTrace
XunitException.UserMessage
XunitException.ToString()
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class DoesNotMatchException : XunitException

Constructors

| Improve this Doc View Source

DoesNotMatchException(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

  • Improve this Doc
  • View Source
Back to top Generated by DocFX