Table of Contents

Class ProperSubsetException

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

Exception thrown when Assert.ProperSubset fails.

public class ProperSubsetException : XunitException, ISerializable, IAssertionException
Inheritance
ProperSubsetException
Implements
Inherited Members

Methods

ForFailure(string, string)

Creates a new instance of the ProperSubsetException class to be thrown when a set is not a proper subset of another set

public static ProperSubsetException ForFailure(string expected, string actual)

Parameters

expected string

The expected value

actual string

The actual value

Returns

ProperSubsetException