0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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
func Test_balloon_split()
if !exists('*balloon_split')
return
endif
call assert_equal([
\ 'one two three four one two three four one two thre',
\ 'e four',

View File

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