diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-02 22:48:01 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-02 22:48:01 +0100 |
commit | a0107bdf8762d81cb49909ef02ffff9954092fb6 (patch) | |
tree | 518222a99cdb6d6f43a6a43980921d05a471c1a6 /src | |
parent | 358f6b0a36d25e0e2f8f1fc625974816b71fa50a (diff) | |
download | vim-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.vim | 6 | ||||
-rw-r--r-- | 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 @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 401, +/**/ 400, /**/ 399, |