mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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().
This commit is contained in:
parent
2e6cdb91e8
commit
d697ddea14
@ -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
|
||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2419,
|
||||
/**/
|
||||
2418,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user