1
0
forked from aniani/vim

patch 8.2.0219: terminal test still fails on Mac

Problem:    Terminal test still fails on Mac.
Solution:   Skip part of the test on Mac.
This commit is contained in:
Bram Moolenaar
2020-02-05 23:01:34 +01:00
parent 0de50864a7
commit 4af11174f7
2 changed files with 8 additions and 4 deletions

View File

@@ -2359,10 +2359,12 @@ func Test_terminal_in_popup()
call term_sendkeys(buf, "/edit\<CR>")
call VerifyScreenDump(buf, 'Test_terminal_popup_3', {})
call term_sendkeys(buf, "\<C-W>:call HidePopup()\<CR>")
call VerifyScreenDump(buf, 'Test_terminal_popup_4', {})
call term_sendkeys(buf, "\<CR>")
call term_wait(buf, 50)
" TODO: somehow this causes the job to keep running on Mac
if !has('mac')
call term_sendkeys(buf, "\<C-W>:call HidePopup()\<CR>")
call VerifyScreenDump(buf, 'Test_terminal_popup_4', {})
call term_sendkeys(buf, "\<CR>")
endif
call term_sendkeys(buf, ":q\<CR>")
call term_wait(buf, 100) " wait for terminal to vanish

View File

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