• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revisiond9265bf1d327afddb5216b8639dca5d9abb059fb (tree)
Time2022-11-13 02:45:03
AuthorBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Log Message

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

patch 9.0.0866: no test for what patch 8.2.2207 fixes
Problem: No test for what patch 8.2.2207 fixes.
Solution: Add a test case. (closes https://github.com/vim/vim/issues/11531)

Change Summary

Incremental Difference

diff -r 4ce7a0fd7e6c -r d9265bf1d327 src/testdir/test_popup.vim
--- a/src/testdir/test_popup.vim Sat Nov 12 18:15:03 2022 +0100
+++ b/src/testdir/test_popup.vim Sat Nov 12 18:45:03 2022 +0100
@@ -862,7 +862,6 @@
862862 endfunc
863863
864864 func Test_popup_command()
865- CheckScreendump
866865 CheckFeature menu
867866
868867 menu Test.Foo Foo
@@ -870,13 +869,18 @@
870869 call assert_fails('popup Test.Foo.X', 'E327:')
871870 call assert_fails('popup Foo', 'E337:')
872871 unmenu Test.Foo
872+endfunc
873+
874+func Test_popup_command_dump()
875+ CheckFeature menu
876+ CheckScreendump
873877
874878 let script =<< trim END
875879 func StartTimer()
876880 call timer_start(100, {-> ChangeMenu()})
877881 endfunc
878882 func ChangeMenu()
879- nunmenu PopUp.&Paste
883+ aunmenu PopUp.&Paste
880884 nnoremenu 1.40 PopUp.&Paste :echomsg "pasted"<CR>
881885 echomsg 'changed'
882886 endfunc
diff -r 4ce7a0fd7e6c -r d9265bf1d327 src/version.c
--- a/src/version.c Sat Nov 12 18:15:03 2022 +0100
+++ b/src/version.c Sat Nov 12 18:45:03 2022 +0100
@@ -696,6 +696,8 @@
696696 static int included_patches[] =
697697 { /* Add new patch number below this line */
698698 /**/
699+ 866,
700+/**/
699701 865,
700702 /**/
701703 864,
Show on old repository browser