QUnit: the error message is shorten, when asserting equality of 2 lists with multi-line strings #2680
Comments
davidnich
added a commit
that referenced
this issue
Mar 10, 2018
…th special whitespace and for multi-line data structures
sejvlond
added a commit
that referenced
this issue
Mar 12, 2018
refs #2680 improved QUnit output in assertion failures for strings wi…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When asserting equality of 2 lists with multi-line strings the error message is a bit confusing. Consider code below:
And the output:
The details are confusing, because there is only the first line of the string. It's probably intended, because I can see that there is a
shorten
function: https://github.com/qorelanguage/qore/blob/develop/qlib/QUnit.qm#L1082But is it really necessary to shorten the message?
The text was updated successfully, but these errors were encountered: