mirror of
https://github.com/vim/vim.git
synced 2025-08-24 19:45:50 -04:00
patch 8.2.2700: nested autocmd test fails sometimes
Problem: Nested autocmd test fails sometimes. Solution: Wait for the job to finish.
This commit is contained in:
parent
c48f2dc0be
commit
6437475ffb
@ -2021,8 +2021,8 @@ func Test_terminal_nested_autocmd()
|
||||
let buf = term_start(cmd, #{term_finish: 'close', hidden: 1})
|
||||
call assert_equal(lastline, line('.'))
|
||||
|
||||
call TermWait(buf)
|
||||
exe buf . 'bwipe'
|
||||
let job = term_getjob(buf)
|
||||
call WaitForAssert({-> assert_equal("dead", job_status(job))})
|
||||
call delete('Xtext')
|
||||
augroup TermTest
|
||||
au!
|
||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2700,
|
||||
/**/
|
||||
2699,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user