From: Bram Moolenaar Date: Sun, 19 Nov 2017 19:32:49 +0000 (+0100) Subject: patch 8.0.1320: popup test fails on GUI-only build X-Git-Tag: v8.0.1320 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7221fce8b395972b57aea5f36ba2844fe1d4c259;p=thirdparty%2Fvim.git 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. --- diff --git a/src/testdir/test_popup.vim b/src/testdir/test_popup.vim index bfccb7410f..2bb9b32c49 100644 --- a/src/testdir/test_popup.vim +++ b/src/testdir/test_popup.vim @@ -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', diff --git a/src/version.c b/src/version.c index 2e52e806cf..324a3601d0 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1320, /**/ 1319, /**/