summaryrefslogtreecommitdiffstats
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 965c704960..bc12511aff 100644
--- a/src/testdir/test_cursor_func.vim
+++ b/src/testdir/test_cursor_func.vim
@@ -124,7 +124,7 @@ func Test_screenpos()
\ 'col': wincol + 7,
\ 'curscol': wincol + 7,
\ 'endcol': wincol + 7}, winid->screenpos(line('$'), 8))
- call assert_equal({'row': winrow - 1, 'col': 0, 'curscol': 0, 'endcol': 0},
+ call assert_equal({'row': 0, 'col': 0, 'curscol': 0, 'endcol': 0},
\ winid->screenpos(line('$'), 22))
close