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
@kt3k From what I can tell the code uses a variant of the myers algorithm. A common optmization there is to ensure that the grid is always in portrait mode, because the algorithm searches for the biggest x value. It might just be that the code forgets to swap the insertion/deletions back to the original landscape grid.
Describe the bug
When
assertEquals
is used to compare a multiline string and the check fails, then the diff output confusingly swaps the order of actual and expected.Steps to Reproduce
Expected behavior
It should not swap the order. It should mark actual as "actual" and expected as "expected".
Environment
The text was updated successfully, but these errors were encountered: