aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.lua b/test/test.lua
index 5a35b0de..4121c8ca 100644
--- a/test/test.lua
+++ b/test/test.lua
@@ -3351,8 +3351,8 @@ function test_file_diff()
['d'] = diff.INDIC_ADDITION
}, {[15] = ' '})
- -- Go to next difference, merge third block from right to left, and verify.
- diff.goto_change(true)
+ -- Already on next difference; merge third block from right to left, and
+ -- verify.
assert_equal(buffer1:line_from_position(buffer1.current_pos), 12)
diff.merge(true)
assert(buffer1:get_line(12):find('into four'), 'did not merge from right to left')