aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-06-04 01:58:36 +0200
committerGitHub <noreply@github.com>2018-06-04 01:58:36 +0200
commitcf92a76285f7bc3823ea45c4ced9085a4fe8e362 (patch)
tree1b1522f3f30fd3427e4260c73fb8839828cdfd7e
parent7795829767818a3c6cbeed7957a1ad5c03d48d41 (diff)
downloadrneovim-cf92a76285f7bc3823ea45c4ced9085a4fe8e362.tar.gz
rneovim-cf92a76285f7bc3823ea45c4ced9085a4fe8e362.tar.bz2
rneovim-cf92a76285f7bc3823ea45c4ced9085a4fe8e362.zip
vim-patches: 8.0.0399 8.0.0401 (#8475)
vim-patch:8.0.0399: crash when using balloon_show() when not supported Problem: Crash when using balloon_show() when not supported. (Hirohito Higashi) Solution: Check for balloonEval not to be NULL. (Ken Takata) https://github.com/vim/vim/commit/caf6434ac937cf26050276d7b474be2d2d6a06b3 vim-patch:8.0.0401: test fails with missing balloon feature Problem: Test fails with missing balloon feature. Solution: Add check for balloon feature. https://github.com/vim/vim/commit/a0107bdf8762d81cb49909ef02ffff9954092fb6 vim-patch:8.0.0414: balloon eval is not tested
-rw-r--r--src/nvim/testdir/test_functions.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim
index 4c31bb5732..8a82493ab6 100644
--- a/src/nvim/testdir/test_functions.vim
+++ b/src/nvim/testdir/test_functions.vim
@@ -759,3 +759,10 @@ func Test_col()
call assert_equal(0, col([1]))
bw!
endfunc
+
+func Test_balloon_show()
+ if has('balloon_eval')
+ " This won't do anything but must not crash either.
+ call balloon_show('hi!')
+ endif
+endfunc