summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-02 22:48:01 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-02 22:48:01 +0100
commita0107bdf8762d81cb49909ef02ffff9954092fb6 (patch)
tree518222a99cdb6d6f43a6a43980921d05a471c1a6 /src
parent358f6b0a36d25e0e2f8f1fc625974816b71fa50a (diff)
downloadvim-a0107bdf8762d81cb49909ef02ffff9954092fb6.zip
patch 8.0.0401: test fails with missing balloon feature
Problem: Test fails with missing balloon feature. Solution: Add check for balloon feature.
Diffstat (limited to 'src')
-rw-r--r--src/testdir/test_functions.vim6
-rw-r--r--src/version.c2
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
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 401,
+/**/
400,
/**/
399,