Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
When assertEquals fails, only the JEXL representation of the expression is shown, not the actual/expected values, which makes it hard do diagnosticate what's wrong. For instance:
Expected expression: 5
Actual expression: ${oneLineNoNewLine.length().toString()}
So, I'm sending a patch that would instead show the following (in the example above):
Expected expression: (5)=(5)
Actual expression: (${oneLineNoNewLine.length().toString()})=(6)