mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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:
parent
f21118e4a9
commit
d2c1fb476d
@ -1993,6 +1993,8 @@ func Test_popupwin_with_buffer()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_popupwin_terminal_buffer()
|
func Test_popupwin_terminal_buffer()
|
||||||
|
CheckFeature terminal
|
||||||
|
|
||||||
let ptybuf = term_start(&shell, #{hidden: 1})
|
let ptybuf = term_start(&shell, #{hidden: 1})
|
||||||
call assert_fails('let winnr = popup_create(ptybuf, #{})', 'E278:')
|
call assert_fails('let winnr = popup_create(ptybuf, #{})', 'E278:')
|
||||||
exe 'bwipe! ' .. ptybuf
|
exe 'bwipe! ' .. ptybuf
|
||||||
|
@ -757,6 +757,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 */
|
||||||
|
/**/
|
||||||
|
2079,
|
||||||
/**/
|
/**/
|
||||||
2078,
|
2078,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user