diff options
Diffstat (limited to 'src/testdir/test_edit.vim')
-rw-r--r-- | src/testdir/test_edit.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/testdir/test_edit.vim b/src/testdir/test_edit.vim index 1b00ae98f..f0896d2c5 100644 --- a/src/testdir/test_edit.vim +++ b/src/testdir/test_edit.vim @@ -2068,8 +2068,12 @@ endfunc func Test_edit_gr_special() enew call setline(1, ['abcdef', 'xxxxxx']) - exe "normal! gr\<C-O>x" - call assert_equal('bcdef', getline(1)) + exe "normal! gr\<C-O>lx" + call assert_equal("\<C-O>def", getline(1)) + + call setline(1, 'abcdef') + exe "normal! 0gr\<C-G>lx" + call assert_equal("\<C-G>def", getline(1)) bwipe! endfunc |