Table of Contents

Method ForStringNotFound

Namespace
Xunit.Sdk
Assembly
xunit.v3.assert.dll

ForStringNotFound(string?, string?)

Creates an instance of the EndsWithException class to be thrown when a string does not end with the given value.

public static EndsWithException ForStringNotFound(string? expected, string? actual)

Parameters

expected string

The expected ending

actual string

The actual value

Returns