diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-03-15 16:13:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-03-15 16:13:53 +0100 |
commit | 0eabd4dc8ff50658f0ea0e92c7918a42242f6b80 (patch) | |
tree | 42ea6e7acf72ad4fd46d6e3aad8e1f78f3867c79 /src/testdir/test_popup.vim | |
parent | 5e4d1eba9579ea6b876ad699d77742e657505d35 (diff) |
patch 8.2.0385: menu functionality insufficiently testedv8.2.0385
Problem: Menu functionality insufficiently tested.
Solution: Add tests. Add menu_info(). (Yegappan Lakshmanan, closes #5760)
Diffstat (limited to 'src/testdir/test_popup.vim')
-rw-r--r-- | src/testdir/test_popup.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim index 5922efa0e4..fdc009f4e2 100644 --- a/src/testdir/test_popup.vim +++ b/src/testdir/test_popup.vim @@ -851,6 +851,12 @@ func Test_popup_command() CheckScreendump CheckFeature menu + menu Test.Foo Foo + call assert_fails('popup Test.Foo', 'E336:') + call assert_fails('popup Test.Foo.X', 'E327:') + call assert_fails('popup Foo', 'E337:') + unmenu Test.Foo + let lines =<< trim END one two three four five and one two Xthree four five |