diff --git a/test/old/testdir/test_normal.vim b/test/old/testdir/test_normal.vim index 9f9d9367dc..62804b0142 100644 --- a/test/old/testdir/test_normal.vim +++ b/test/old/testdir/test_normal.vim @@ -4247,4 +4247,14 @@ func Test_halfpage_scrolloff_eob() bwipe! endfunc +" Test for Ctrl-U/D moving the cursor at the buffer boundaries. +func Test_halfpage_cursor_startend() + call setline(1, range(1, 100)) + exe "norm! jztj\" + call assert_equal(1, line('.')) + exe "norm! G\k\" + call assert_equal(100, line('.')) + bwipe! +endfunc + " vim: shiftwidth=2 sts=2 expandtab nofoldenable