changeset 12887:ffc7004e9041 v8.0.1320

patch 8.0.1320: popup test fails on GUI-only build commit https://github.com/vim/vim/commit/7221fce8b395972b57aea5f36ba2844fe1d4c259 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 19 20:32:49 2017 +0100 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.
author Christian Brabandt <cb@256bit.org>
date Sun, 19 Nov 2017 20:45:05 +0100
parents b959416f83cb
children ee7c70c64d80
files src/testdir/test_popup.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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',
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1320,
+/**/
     1319,
 /**/
     1318,