1
0
forked from aniani/vim

patch 8.2.0293: various Ex commands not sufficiently tested

Problem:    Various Ex commands not sufficiently tested.
Solution:   Add more test cases. (Yegappan Lakshmanan, closes #5673)
This commit is contained in:
Bram Moolenaar
2020-02-21 17:54:45 +01:00
parent 09f28f49c9
commit 818fc9ad14
14 changed files with 198 additions and 7 deletions

View File

@@ -2721,3 +2721,13 @@ func Test_normal_cpo_minus()
let &cpo = save_cpo
close!
endfunc
" Test for using : to run a multi-line Ex command in operator pending mode
func Test_normal_yank_with_excmd()
new
call setline(1, ['foo', 'bar', 'baz'])
let @a = ''
call feedkeys("\"ay:if v:true\<CR>normal l\<CR>endif\<CR>", 'xt')
call assert_equal('f', @a)
close!
endfunc