From: Bram Moolenaar Date: Thu, 2 Mar 2017 21:48:01 +0000 (+0100) Subject: patch 8.0.0401: test fails with missing balloon feature X-Git-Tag: v8.0.0401 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0107bdf8762d81cb49909ef02ffff9954092fb6;p=vim patch 8.0.0401: test fails with missing balloon feature Problem: Test fails with missing balloon feature. Solution: Add check for balloon feature. --- diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim index eeeb4e325..cd58f63fd 100644 --- 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 diff --git a/src/version.c b/src/version.c index fd4cdb138..932132d48 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 401, /**/ 400, /**/