1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2017-11-19 20:32:49 +01:00
parent 669a828cdc
commit 7221fce8b3
2 changed files with 5 additions and 0 deletions

View File

@@ -704,6 +704,9 @@ func Test_popup_and_preview_autocommand()
endfunc endfunc
func Test_balloon_split() func Test_balloon_split()
if !exists('*balloon_split')
return
endif
call assert_equal([ call assert_equal([
\ 'one two three four one two three four one two thre', \ 'one two three four one two three four one two thre',
\ 'e four', \ 'e four',

View File

@@ -771,6 +771,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 */
/**/
1320,
/**/ /**/
1319, 1319,
/**/ /**/