# HG changeset patch # User Christian Brabandt # Date 1488492005 -3600 # Node ID 973fa964cb91a6581fad9cc4601d38c0e7b67335 # Parent 49088e5fc53cb2d1bdc13074c234ce1fcc7418a5 patch 8.0.0401: test fails with missing balloon feature commit https://github.com/vim/vim/commit/a0107bdf8762d81cb49909ef02ffff9954092fb6 Author: Bram Moolenaar 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. diff --git a/src/testdir/test_functions.vim b/src/testdir/test_functions.vim --- 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 --- 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,