]> granicus.if.org Git - vim/commitdiff
patch 8.0.1320: popup test fails on GUI-only build v8.0.1320
authorBram Moolenaar <Bram@vim.org>
Sun, 19 Nov 2017 19:32:49 +0000 (20:32 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 19 Nov 2017 19:32:49 +0000 (20:32 +0100)
Problem:    Popup test fails on GUI-only build.
Solution:   Don't test balloon_split() when it's not available.

src/testdir/test_popup.vim
src/version.c

index bfccb7410f68f1fadf794190d4efa19706990246..2bb9b32c4935668df453a54a846fc51708d91a93 100644 (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',
index 2e52e806cf49ad98ec247bc817a56efddd294b62..324a3601d0025397c71bba4c7082fcd4a2ae5745 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1320,
 /**/
     1319,
 /**/