ladybird/Tests/LibDiff
Shannon Booth b738929195 LibDiff: Fix wrong index used when prepending context lines
`i` is used as the index for 'old lines' in diff generation, not 'new
lines'. Using the wrong index would mean that for certain diffs the
prefixed context information would have wrong content, and could even
result in a crash.

Fix this, and add a test for an input which was previously crashing.
2023-09-11 12:10:50 +01:00
..
CMakeLists.txt LibDiff: Fix wrong index used when prepending context lines 2023-09-11 12:10:50 +01:00
TestDiff.cpp LibDiff: Fix wrong index used when prepending context lines 2023-09-11 12:10:50 +01:00