Mirror of the Vim source from https://github.com/vim/vim
Revision | d9265bf1d327afddb5216b8639dca5d9abb059fb (tree) |
---|---|
Time | 2022-11-13 02:45:03 |
Author | Bram Moolenaar <Bram@vim....> |
Commiter | Bram Moolenaar |
patch 9.0.0866: no test for what patch 8.2.2207 fixes
Commit: https://github.com/vim/vim/commit/f7570f2107d91f35dc67dd0e400fc638585b226c
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat Nov 12 17:30:25 2022 +0000
@@ -862,7 +862,6 @@ | ||
862 | 862 | endfunc |
863 | 863 | |
864 | 864 | func Test_popup_command() |
865 | - CheckScreendump | |
866 | 865 | CheckFeature menu |
867 | 866 | |
868 | 867 | menu Test.Foo Foo |
@@ -870,13 +869,18 @@ | ||
870 | 869 | call assert_fails('popup Test.Foo.X', 'E327:') |
871 | 870 | call assert_fails('popup Foo', 'E337:') |
872 | 871 | unmenu Test.Foo |
872 | +endfunc | |
873 | + | |
874 | +func Test_popup_command_dump() | |
875 | + CheckFeature menu | |
876 | + CheckScreendump | |
873 | 877 | |
874 | 878 | let script =<< trim END |
875 | 879 | func StartTimer() |
876 | 880 | call timer_start(100, {-> ChangeMenu()}) |
877 | 881 | endfunc |
878 | 882 | func ChangeMenu() |
879 | - nunmenu PopUp.&Paste | |
883 | + aunmenu PopUp.&Paste | |
880 | 884 | nnoremenu 1.40 PopUp.&Paste :echomsg "pasted"<CR> |
881 | 885 | echomsg 'changed' |
882 | 886 | endfunc |
@@ -696,6 +696,8 @@ | ||
696 | 696 | static int included_patches[] = |
697 | 697 | { /* Add new patch number below this line */ |
698 | 698 | /**/ |
699 | + 866, | |
700 | +/**/ | |
699 | 701 | 865, |
700 | 702 | /**/ |
701 | 703 | 864, |