forked from aniani/vim
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:
@@ -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,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user