diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-11-13 07:06:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-13 07:06:37 +0800 |
commit | 47ad4c8701b4233aa302c1c21ff08a5f223596c7 (patch) | |
tree | 86655983fc257106af5f77a7acd5953d8c5615c6 /test | |
parent | 7abe8ef42267db861e84ce12023b296d49de6f25 (diff) | |
download | rneovim-47ad4c8701b4233aa302c1c21ff08a5f223596c7.tar.gz rneovim-47ad4c8701b4233aa302c1c21ff08a5f223596c7.tar.bz2 rneovim-47ad4c8701b4233aa302c1c21ff08a5f223596c7.zip |
vim-patch:9.0.0866: no test for what patch 8.2.2207 fixes (#21034)
Problem: No test for what patch 8.2.2207 fixes.
Solution: Add a test case. (closes vim/vim#11531)
https://github.com/vim/vim/commit/f7570f2107d91f35dc67dd0e400fc638585b226c
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/ui/popupmenu_spec.lua | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/test/functional/ui/popupmenu_spec.lua b/test/functional/ui/popupmenu_spec.lua index e43eef4dfd..7e81d1a577 100644 --- a/test/functional/ui/popupmenu_spec.lua +++ b/test/functional/ui/popupmenu_spec.lua @@ -3039,18 +3039,9 @@ describe('builtin popupmenu', function() eq('bar', meths.get_var('menustr')) end) - -- oldtest: Test_popup_command() + -- oldtest: Test_popup_command_dump() it(':popup command', function() exec([[ - 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 - ]]) - eq({}, meths.get_vvar('errors')) - - exec([[ func ChangeMenu() aunmenu PopUp.&Paste nnoremenu 1.40 PopUp.&Paste :echomsg "pasted"<CR> |