From a0107bdf8762d81cb49909ef02ffff9954092fb6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 2 Mar 2017 22:48:01 +0100 Subject: patch 8.0.0401: test fails with missing balloon feature Problem: Test fails with missing balloon feature. Solution: Add check for balloon feature. --- src/testdir/test_functions.vim | 6 ++++-- src/version.c | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) 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, /**/ -- cgit v1.2.1