You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you do t.deepEqual (and I think also t.is) on two arrays containing strings. If there are a large amount of strings and they only differ slightly the output is very confusing. It appears that as soon as a new entry in an array has shifted the items after it across, AVA text diffs every single entry against the same index in the original array.
There's an existing issue for improving string diffs, but the issue here seems to be that Concordance isn't correctly detecting missing / extraneous array items. But still, see concordancejs/concordance#29 😄
If you do
t.deepEqual
(and I think alsot.is
) on two arrays containing strings. If there are a large amount of strings and they only differ slightly the output is very confusing. It appears that as soon as a new entry in an array has shifted the items after it across, AVA text diffs every single entry against the same index in the original array.e.g: An array with 219 strings that has had 6 additions and 1 deletion:
AVA diff: https://travis-ci.org/lukechilds/window/jobs/266859856
GitHub diff: lukechilds/window@6ecbade
The text was updated successfully, but these errors were encountered: