diff src/testdir/test_functions.vim @ 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 50f3e37bc210
children 5763281d212a
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