mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.1694: terminal API test is a bit flaky
Problem: Terminal API test is a bit flaky. Solution: Wait longer for Vim to stop.
This commit is contained in:
@@ -70,7 +70,7 @@ endfunc
|
||||
func StopVimInTerminal(buf)
|
||||
call assert_equal("running", term_getstatus(a:buf))
|
||||
call term_sendkeys(a:buf, "\<Esc>\<Esc>:qa!\<cr>")
|
||||
call WaitFor('term_getstatus(' . a:buf . ') == "finished"')
|
||||
call WaitFor('term_getstatus(' . a:buf . ') == "finished"', 3000)
|
||||
only!
|
||||
endfunc
|
||||
|
||||
|
@@ -762,6 +762,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1694,
|
||||
/**/
|
||||
1693,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user