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
JsonUnit does't detect moved elements in array.
So, for instance, we have array [1, 2, 3] and we get new array [1, 3, 2]. JsonUnit see that as 2 was changed to 3 and 3 was changed to 2 . It will be great if JsonUnit see that 2 change index to third and 3 chage index to second.
Is it possible to make?
After render we are able to see something like that
But now, we can see as bellow
The text was updated successfully, but these errors were encountered:
I will be able to do that, at least in a special case, where there is no other difference. The question is, how to report it? Is it a new Difference.type (SWAPPED)?
JsonUnit does't detect moved elements in array.
So, for instance, we have array [1, 2, 3] and we get new array [1, 3, 2]. JsonUnit see that as 2 was changed to 3 and 3 was changed to 2 . It will be great if JsonUnit see that 2 change index to third and 3 chage index to second.
Is it possible to make?
After render we are able to see something like that
But now, we can see as bellow
The text was updated successfully, but these errors were encountered: