-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I suppose this happens because array has repeating elements.
Here is test case: https://github.com/vmakhaev/arraydiff-testcase
As you see, I remove one item and expect only one RemoveDiff
, but get:
[ RemoveDiff { index: 86, howMany: 1 },
MoveDiff { from: 21, to: 20, howMany: 5 },
MoveDiff { from: 27, to: 26, howMany: 6 },
MoveDiff { from: 34, to: 33, howMany: 6 },
MoveDiff { from: 41, to: 40, howMany: 6 },
MoveDiff { from: 48, to: 47, howMany: 5 },
MoveDiff { from: 54, to: 53, howMany: 6 },
MoveDiff { from: 61, to: 60, howMany: 7 },
MoveDiff { from: 70, to: 68, howMany: 8 },
MoveDiff { from: 79, to: 68, howMany: 1 },
MoveDiff { from: 80, to: 79, howMany: 6 } ]
Metadata
Metadata
Assignees
Labels
No labels