summaryrefslogtreecommitdiff
path: root/src/testdir/test_cursor_func.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_cursor_func.vim')
-rw-r--r--src/testdir/test_cursor_func.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_cursor_func.vim b/src/testdir/test_cursor_func.vim
index 0f638b357..fbe7be7b7 100644
--- a/src/testdir/test_cursor_func.vim
+++ b/src/testdir/test_cursor_func.vim
@@ -22,7 +22,7 @@ func Test_move_cursor()
call cursor(3, 0)
call assert_equal([3, 1, 0, 1], getcurpos()[1:])
" below last line goes to last line
- call cursor(9, 1)
+ eval [9, 1]->cursor()
call assert_equal([4, 1, 0, 1], getcurpos()[1:])
call setline(1, ["\<TAB>"])