-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Show diff only when it helps #335
Labels
Comments
Not as easy as it seems. Current diffs have irregular whitespace and since they contain markup for the red/green highlighting, their length can't be compared to the input without getting rid of the markup first. Should try #364 before spending more time on this. |
Closed
shivamdixit
added a commit
to shivamdixit/qunit
that referenced
this issue
Mar 17, 2015
Don't show diff if expected and actual values are completely different and there is nothing in common Fixes qunitjs#335
leobalter
pushed a commit
that referenced
this issue
Mar 26, 2015
leobalter
pushed a commit
to leobalter/qunit
that referenced
this issue
Mar 27, 2015
Don't show diff if expected and actual values are completely different and there is nothing in common Fixes qunitjs#335
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
If the length of the diff is just the length of
expected.length + actual.length
, its likely to be useless. Its only useful if it can reduce the input.The text was updated successfully, but these errors were encountered: