1
0
forked from aniani/vim

patch 8.2.0266: terminal in popup test sometimes fails on Mac

Problem:    Terminal in popup test sometimes fails on Mac.
Solution:   Add a short delay.
This commit is contained in:
Bram Moolenaar
2020-02-16 17:04:09 +01:00
parent a76b31542e
commit a28be85ccd
2 changed files with 3 additions and 0 deletions

View File

@@ -2353,6 +2353,7 @@ func Test_terminal_in_popup()
\ ] \ ]
call writefile(lines, 'XtermPopup') call writefile(lines, 'XtermPopup')
let buf = RunVimInTerminal('-S XtermPopup', #{rows: 15}) let buf = RunVimInTerminal('-S XtermPopup', #{rows: 15})
call term_wait(buf, 100)
call term_sendkeys(buf, ":\<CR>") call term_sendkeys(buf, ":\<CR>")
call VerifyScreenDump(buf, 'Test_terminal_popup_1', {}) call VerifyScreenDump(buf, 'Test_terminal_popup_1', {})

View File

@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
266,
/**/ /**/
265, 265,
/**/ /**/