patch 8.2.1799: some Normal mode commands not fully tested

Problem:    Some Normal mode commands not fully tested.
Solution:   Add a few more tests. (Yegappan Lakshmanan, closes #7073)
This commit is contained in:
Bram Moolenaar
2020-10-04 16:16:54 +02:00
parent 1310660557
commit d1ad99b654
8 changed files with 122 additions and 24 deletions

View File

@ -274,6 +274,9 @@ func Test_get_register()
call assert_fails('let r = getreg("=", [])', 'E745:')
call assert_fails('let r = getreg("=", 1, [])', 'E745:')
enew!
" Using a register in operator-pending mode should fail
call assert_beeps('norm! c"')
endfunc
func Test_set_register()