]> granicus.if.org Git - vim/commitdiff
patch 8.2.0266: terminal in popup test sometimes fails on Mac v8.2.0266
authorBram Moolenaar <Bram@vim.org>
Sun, 16 Feb 2020 16:04:09 +0000 (17:04 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 16 Feb 2020 16:04:09 +0000 (17:04 +0100)
Problem:    Terminal in popup test sometimes fails on Mac.
Solution:   Add a short delay.

src/testdir/test_terminal.vim
src/version.c

index 5259454c8282df0b07dfd03914d9f3a71df0e075..e0761c4bdfbef47585fa7806229638347c699d28 100644 (file)
@@ -2353,6 +2353,7 @@ func Test_terminal_in_popup()
        \ ]
   call writefile(lines, 'XtermPopup')
   let buf = RunVimInTerminal('-S XtermPopup', #{rows: 15})
+  call term_wait(buf, 100)
   call term_sendkeys(buf, ":\<CR>")
   call VerifyScreenDump(buf, 'Test_terminal_popup_1', {})
 
index da0b2f61c005ab1bd7e952be602db480d9de3010..67e23d52c417ad717ac11372df2a47ec2f801503 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    266,
 /**/
     265,
 /**/