1
0
forked from aniani/vim

patch 8.1.2079: popup window test fails without +terminal

Problem:    Popup window test fails without +terminal.
Solution:   Check for the +terminal feature.
This commit is contained in:
Bram Moolenaar 2019-09-25 23:06:40 +02:00
parent f21118e4a9
commit d2c1fb476d
2 changed files with 4 additions and 0 deletions

View File

@ -1993,6 +1993,8 @@ func Test_popupwin_with_buffer()
endfunc
func Test_popupwin_terminal_buffer()
CheckFeature terminal
let ptybuf = term_start(&shell, #{hidden: 1})
call assert_fails('let winnr = popup_create(ptybuf, #{})', 'E278:')
exe 'bwipe! ' .. ptybuf

View File

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