changeset 11024:973fa964cb91 v8.0.0401

patch 8.0.0401: test fails with missing balloon feature commit https://github.com/vim/vim/commit/a0107bdf8762d81cb49909ef02ffff9954092fb6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Mar 2 22:48:01 2017 +0100 patch 8.0.0401: test fails with missing balloon feature Problem: Test fails with missing balloon feature. Solution: Add check for balloon feature.
author Christian Brabandt <cb@256bit.org>
date Thu, 02 Mar 2017 23:00:05 +0100
parents 49088e5fc53c
children fc32a43631c2
files src/testdir/test_functions.vim src/version.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_functions.vim
+++ b/src/testdir/test_functions.vim
@@ -468,6 +468,8 @@ func Test_getbufvar()
 endfunc
 
 func Test_balloon_show()
-  " This won't do anything but must not crash either.
-  call balloon_show('hi!')
+  if has('balloon_eval')
+    " This won't do anything but must not crash either.
+    call balloon_show('hi!')
+  endif
 endfunc
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    401,
+/**/
     400,
 /**/
     399,