mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 8.2.0369: various Normal mode commands not fully tested
Problem: Various Normal mode commands not fully tested. Solution: Add more tests. (Yegappan Lakshmanan, closes #5751)
This commit is contained in:
@@ -57,6 +57,10 @@ func Test_copy()
|
||||
1,3copy 2
|
||||
call assert_equal(['L1', 'L2', 'L1', 'L2', 'L3', 'L3', 'L4'], getline(1, 7))
|
||||
|
||||
" Specifying a count before using : to run an ex-command
|
||||
exe "normal! gg4:yank\<CR>"
|
||||
call assert_equal("L1\nL2\nL1\nL2\n", @")
|
||||
|
||||
close!
|
||||
endfunc
|
||||
|
||||
|
Reference in New Issue
Block a user