getPostExpValString

Class: matlab.unittest.diagnostics.ConstraintDiagnostic
Package: matlab.unittest.diagnostics

Returns text to be displayed following expected value

Syntax

str = getPostExpValString(constDiag)

Description

str = getPostExpValString(constDiag) returns text to be displayed following the expected value. This method can be overridden to inject character vectors subsequent to displaying the ExpVal property of the ConstraintDiagnostic. The location of this text is tied to the ExpVal property. Its placement relative to other fields is not guaranteed.

Input Arguments

constDiag

matlab.unittest.diagnostics.ConstraintDiagnostic instance.