]> granicus.if.org Git - vim/commitdiff
patch 8.2.2419: autocmd test was failing on MS-Windows with GUI v8.2.2419
authorBram Moolenaar <Bram@vim.org>
Thu, 28 Jan 2021 11:08:35 +0000 (12:08 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 28 Jan 2021 11:08:35 +0000 (12:08 +0100)
Problem:    Autocmd test was failing on MS-Windows with GUI.
Solution:   Remove stray feedkeys().

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

index 60369c2479fbddebe80ac3d10db41bb959f63772..ecef5b743b337a374093725dc6807e03baec668d 100644 (file)
@@ -214,7 +214,6 @@ func Test_autocmd_bufunload_avoiding_SEGV_02()
 
   normal! i1
   call assert_fails('edit a.txt', 'E517:')
-  call feedkeys("\<CR>")
 
   autocmd! test_autocmd_bufunload
   augroup! test_autocmd_bufunload
@@ -503,14 +502,6 @@ endfunc
 " Using :blast and :ball for many events caused a crash, because b_nwindows was
 " not incremented correctly.
 func Test_autocmd_blast_badd()
-  " The system() here causes SetChangeMarks() to fail, when run in the GUI
-  " under Windows.  No idea why.  Happens with any external command, not
-  " related to the actual test.
-  " TODO: find the cause
-  if has('win32')
-    throw 'Skipped: calling system() causes problems'
-  endif
-
   let content =<< trim [CODE]
       au BufNew,BufAdd,BufWinEnter,BufEnter,BufLeave,BufWinLeave,BufUnload,VimEnter foo* blast
       edit foo1
index fa3ce6f5e410828dfb2c41634c767f7051a836b2..160b538c655da9afb093d27563cda0d5dbd775e2 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2419,
 /**/
     2418,
 /**/