Class StartsWithException
Exception thrown when a string does not start with the expected value.
Namespace: Xunit.Sdk
Assembly: xunit.assert.dll
Syntax
public class StartsWithException : XunitException
Constructors
| Improve this Doc View SourceStartsWithException(String, String)
Creates a new instance of the StartsWithException class.
Declaration
public StartsWithException(string expected, string actual)
Parameters
Type | Name | Description |
---|---|---|
String | expected | The expected string value |
String | actual | The actual value |