diff src/testdir/test_vim9_disassemble.vim @ 30697:d914a3812d5b v9.0.0683

patch 9.0.0683: cannot specify a time for :echowindow Commit: https://github.com/vim/vim/commit/bdc09a18fca32715687d9911a431da69186528cc Author: Bram Moolenaar <Bram@vim.org> Date: Fri Oct 7 14:31:45 2022 +0100 patch 9.0.0683: cannot specify a time for :echowindow Problem: Cannot specify a time for :echowindow. Solution: A count can be used to specify the display time. Add popup_findecho().
author Bram Moolenaar <Bram@vim.org>
date Fri, 07 Oct 2022 15:45:06 +0200
parents fc0830246f49
children b4b51e01dd36
line wrap: on
line diff
--- a/src/testdir/test_vim9_disassemble.vim
+++ b/src/testdir/test_vim9_disassemble.vim
@@ -2367,6 +2367,7 @@ def s:Echomsg()
   echoerr 'went' .. 'wrong'
   var local = 'window'
   echowin 'in' local
+  :5echowin 'five'
 enddef
 
 def Test_disassemble_echomsg()
@@ -2389,6 +2390,9 @@ def Test_disassemble_echomsg()
         '\d\+ PUSHS "in"\_s*' ..
         '\d\+ LOAD $0\_s*' ..
         '\d\+ ECHOWINDOW 2\_s*' ..
+        ":5echowin 'five'\\_s*" ..
+        '\d\+ PUSHS "five"\_s*' ..
+        '\d\+ ECHOWINDOW 1 (5 sec)\_s*' ..
         '\d\+ RETURN void',
         res)
 enddef