diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-12-27 17:20:55 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-12-27 17:20:55 +0100 |
commit | 297610ba4b110c918ffe60c45eb4a1d6ea2daae5 (patch) | |
tree | ee04b17c7069ce83dd0f7f19ec30d1a9d58b7298 /src/testdir/test_menu.vim | |
parent | 5c463a28fff1d82222d49bc7960da9e0c866b060 (diff) |
patch 8.2.0049: command line completion not fully testedv8.2.0049
Problem: Command line completion not fully tested.
Solution: Add more test cases. Make help sorting stable. (Dominique Pelle,
closes #5402)
Diffstat (limited to 'src/testdir/test_menu.vim')
-rw-r--r-- | src/testdir/test_menu.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_menu.vim b/src/testdir/test_menu.vim index 0d6b78ef71..04d45d611c 100644 --- a/src/testdir/test_menu.vim +++ b/src/testdir/test_menu.vim @@ -45,6 +45,10 @@ func Test_menu_commands() imenu 2 Test.FooBar :let g:did_menu = 'insert'<CR> cmenu 2 Test.FooBar :let g:did_menu = 'cmdline'<CR> emenu n Test.FooBar + + call feedkeys(":menu Test.FooB\<C-A>\<C-B>\"\<CR>", 'tx') + call assert_equal('"menu Test.FooBar', @:) + call assert_equal('normal', g:did_menu) emenu v Test.FooBar call assert_equal('visual', g:did_menu) |