From 3f9fa730ceb059ab94dcd20b8f323faca1417110 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 12 May 2021 02:51:43 -0400 Subject: [PATCH] vim-patch:8.2.2419: autocmd test was failing on MS-Windows with GUI Problem: Autocmd test was failing on MS-Windows with GUI. Solution: Remove stray feedkeys(). https://github.com/vim/vim/commit/d697ddea1466d877a79f8c56d46361dc54e9baef --- src/nvim/testdir/test_autocmd.vim | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim index c2abf71a95..e0a04c94f8 100644 --- a/src/nvim/testdir/test_autocmd.vim +++ b/src/nvim/testdir/test_autocmd.vim @@ -190,7 +190,6 @@ func Test_autocmd_bufunload_avoiding_SEGV_02() normal! i1 call assert_fails('edit a.txt', 'E517:') - call feedkeys("\") autocmd! test_autocmd_bufunload augroup! test_autocmd_bufunload @@ -455,14 +454,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