To: vim_dev@googlegroups.com Subject: Patch 9.0.0866 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0866 Problem: No test for what patch 8.2.2207 fixes. Solution: Add a test case. (closes #11531) Files: src/testdir/test_popup.vim *** ../vim-9.0.0865/src/testdir/test_popup.vim 2022-10-06 19:49:09.561466199 +0100 --- src/testdir/test_popup.vim 2022-11-12 17:29:35.604640541 +0000 *************** *** 862,868 **** endfunc func Test_popup_command() - CheckScreendump CheckFeature menu menu Test.Foo Foo --- 862,867 ---- *************** *** 870,882 **** call assert_fails('popup Test.Foo.X', 'E327:') call assert_fails('popup Foo', 'E337:') unmenu Test.Foo let script =<< trim END func StartTimer() call timer_start(100, {-> ChangeMenu()}) endfunc func ChangeMenu() ! nunmenu PopUp.&Paste nnoremenu 1.40 PopUp.&Paste :echomsg "pasted" echomsg 'changed' endfunc --- 869,886 ---- call assert_fails('popup Test.Foo.X', 'E327:') call assert_fails('popup Foo', 'E337:') unmenu Test.Foo + endfunc + + func Test_popup_command_dump() + CheckFeature menu + CheckScreendump let script =<< trim END func StartTimer() call timer_start(100, {-> ChangeMenu()}) endfunc func ChangeMenu() ! aunmenu PopUp.&Paste nnoremenu 1.40 PopUp.&Paste :echomsg "pasted" echomsg 'changed' endfunc *** ../vim-9.0.0865/src/version.c 2022-11-12 17:00:27.780096220 +0000 --- src/version.c 2022-11-12 17:26:49.828565550 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 866, /**/ -- The real trick is this: to keep the lines as short as possible and keep the size the same yet free from the need for hyphena- Dammit!! (Matthew Winn) /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///