]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1087: autocommand test sometimes fails v9.0.1087
authorJames McCoy <jamessan@jamessan.com>
Thu, 22 Dec 2022 18:30:24 +0000 (18:30 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 22 Dec 2022 18:30:24 +0000 (18:30 +0000)
Problem:    Autocommand test sometimes fails.
Solution:   Add a short delay. (James McCoy, closes #11737)

src/testdir/test_autocmd.vim
src/version.c

index cf3d6fca133ade0ede043e08b1a58ad8b85d859e..c6abb1b6d9d494414532d44a4e7493b4eb36a833 100644 (file)
@@ -2393,6 +2393,7 @@ func Test_autocmd_user_clear_group()
   call term_sendkeys(buf, ":autocmd User\<CR>")
   call TermWait(buf, 50)
   call term_sendkeys(buf, "G")
+  call TermWait(buf, 50)
 
   call StopVimInTerminal(buf)
 endfunc
index 58bdee4c1c509a0b0ea9870892abd6a4e14f0499..bcbc760005bc3ea91da9af9718bdc09b91ed8c69 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1087,
 /**/
     1086,
 /**/