AssertFailedException.ExpectedText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the pre-formatted text representation of the expected value, as displayed
in the expected: line of the structured assertion message. Returns null
when the assertion has no natural expected value (e.g. Fail(String)).
public string? ExpectedText { get; }
member this.ExpectedText : string
Public ReadOnly Property ExpectedText As String