Skip to content

Commit d2c1fb4

Browse files
committed
patch 8.1.2079: popup window test fails without +terminal
Problem: Popup window test fails without +terminal. Solution: Check for the +terminal feature.
1 parent f21118e commit d2c1fb4

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/testdir/test_popupwin.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1993,6 +1993,8 @@ func Test_popupwin_with_buffer()
19931993
endfunc
19941994

19951995
func Test_popupwin_terminal_buffer()
1996+
CheckFeature terminal
1997+
19961998
let ptybuf = term_start(&shell, #{hidden: 1})
19971999
call assert_fails('let winnr = popup_create(ptybuf, #{})', 'E278:')
19982000
exe 'bwipe! ' .. ptybuf

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,8 @@ static char *(features[]) =
757757

758758
static int included_patches[] =
759759
{ /* Add new patch number below this line */
760+
/**/
761+
2079,
760762
/**/
761763
2078,
762764
/**/

0 commit comments

Comments
 (0)