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 endfunc
func Test_balloon_show() func Test_balloon_show()
" This won't do anything but must not crash either. if has('balloon_eval')
call balloon_show('hi!') " This won't do anything but must not crash either.
call balloon_show('hi!')
endif
endfunc endfunc

View File

@@ -764,6 +764,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
401,
/**/ /**/
400, 400,
/**/ /**/