Test.ComparisonFailure Class
ComparisonFailure is subclass of Error that is thrown whenever a comparison between two values fails. It provides mechanisms to retrieve both the expected and actual value.
ComparisonFailure is subclass of Error that is thrown whenever a comparison between two values fails. It provides mechanisms to retrieve both the expected and actual value.
getMessage
Defined in
test/js/ComparisonFailure.js:49
Returns a fully formatted error for an assertion failure. This message provides information about the expected and actual values.