Table of Contents

Method ForSubSpanNotFound

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

ForSubSpanNotFound(string, string)

Creates a new instance of the ContainsException class to be thrown when the requested sub-span was not found in the span.

public static ContainsException ForSubSpanNotFound(string expectedSubSpan, string span)

Parameters

expectedSubSpan string

The expected sub-span

span string

The span

Returns