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"<CR>
        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"<CR>
        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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221112173058.053C81C0473%40moolenaar.net.

Raspunde prin e-mail lui