Show / Hide Table of Contents

Class EndsWithException

Exception thrown when a string does not end with the expected value.

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

Constructors

| Improve this Doc View Source

EndsWithException(String, String)

Creates a new instance of the EndsWithException class.

Declaration
public EndsWithException(string expected, string actual)
Parameters
Type Name Description
String expected

The expected string value

String actual

The actual value

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