summaryrefslogtreecommitdiff
path: root/src/testdir/test_marks.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_marks.vim')
-rw-r--r--src/testdir/test_marks.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test_marks.vim b/src/testdir/test_marks.vim
index dcf4904d0..12501a3ab 100644
--- a/src/testdir/test_marks.vim
+++ b/src/testdir/test_marks.vim
@@ -26,6 +26,16 @@ func Test_Incr_Marks()
enew!
endfunc
+func Test_previous_jump_mark()
+ new
+ call setline(1, ['']->repeat(6))
+ normal Ggg
+ call assert_equal(6, getpos("''")[1])
+ normal jjjjj
+ call assert_equal(6, getpos("''")[1])
+ bwipe!
+endfunc
+
func Test_setpos()
new Xone
let onebuf = bufnr('%')