0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.0.0401: test fails with missing balloon feature

Problem:    Test fails with missing balloon feature.
Solution:   Add check for balloon feature.
This commit is contained in:
Bram Moolenaar
2017-03-02 22:48:01 +01:00
parent 358f6b0a36
commit a0107bdf87
2 changed files with 6 additions and 2 deletions

View File

@@ -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