summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-12 17:30:25 +0000
committerBram Moolenaar <Bram@vim.org>2022-11-12 17:30:25 +0000
commitf7570f2107d91f35dc67dd0e400fc638585b226c (patch)
tree8d7995747f7098f03349717f63350f74908f4103
parentb3052aa1b555ab5a81b1459a4972290381b0e7e4 (diff)
downloadvim-git-f7570f2107d91f35dc67dd0e400fc638585b226c.tar.gz
patch 9.0.0866: no test for what patch 8.2.2207 fixesv9.0.0866
Problem: No test for what patch 8.2.2207 fixes. Solution: Add a test case. (closes #11531)
-rw-r--r--src/testdir/test_popup.vim8
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 2 deletions
diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim
index f28efc925..9f727a000 100644
--- a/src/testdir/test_popup.vim
+++ b/src/testdir/test_popup.vim
@@ -862,7 +862,6 @@ func Test_popup_position()
endfunc
func Test_popup_command()
- CheckScreendump
CheckFeature menu
menu Test.Foo Foo
@@ -870,13 +869,18 @@ func Test_popup_command()
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()
- nunmenu PopUp.&Paste
+ aunmenu PopUp.&Paste
nnoremenu 1.40 PopUp.&Paste :echomsg "pasted"<CR>
echomsg 'changed'
endfunc
diff --git a/src/version.c b/src/version.c
index 98e7fd0b5..02ffdeca2 100644
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 866,
+/**/
865,
/**/
864,