Skip to content

Commit 7221fce

Browse files
committed
patch 8.0.1320: popup test fails on GUI-only build
Problem: Popup test fails on GUI-only build. Solution: Don't test balloon_split() when it's not available.
1 parent 669a828 commit 7221fce

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/testdir/test_popup.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,9 @@ func Test_popup_and_preview_autocommand()
704704
endfunc
705705

706706
func Test_balloon_split()
707+
if !exists('*balloon_split')
708+
return
709+
endif
707710
call assert_equal([
708711
\ 'one two three four one two three four one two thre',
709712
\ 'e four',

src/version.c

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

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1320,
774776
/**/
775777
1319,
776778
/**/

0 commit comments

Comments
 (0)