diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-21 17:54:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-21 17:54:45 +0100 |
commit | 818fc9ad143911b2faa0d7cee86724aa70a02080 (patch) | |
tree | e720688cb917f3fdd28739a4fc2340b270332235 /src/testdir/test_normal.vim | |
parent | 09f28f49c9b5973593f8a9b445cdc2ed3da630b6 (diff) | |
download | vim-git-818fc9ad143911b2faa0d7cee86724aa70a02080.tar.gz |
patch 8.2.0293: various Ex commands not sufficiently testedv8.2.0293
Problem: Various Ex commands not sufficiently tested.
Solution: Add more test cases. (Yegappan Lakshmanan, closes #5673)
Diffstat (limited to 'src/testdir/test_normal.vim')
-rw-r--r-- | src/testdir/test_normal.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/testdir/test_normal.vim b/src/testdir/test_normal.vim index 843374d26..35d5d5fa7 100644 --- a/src/testdir/test_normal.vim +++ b/src/testdir/test_normal.vim @@ -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 |