0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.2.0162: balloon test fails in the GUI

Problem:    Balloon test fails in the GUI.
Solution:   Skip test in the GUI.
This commit is contained in:
Bram Moolenaar
2020-01-27 23:01:30 +01:00
parent f8ddb25789
commit 7d8ea0b241
2 changed files with 5 additions and 1 deletions

View File

@@ -1147,7 +1147,9 @@ func Test_balloon_show()
if has('balloon_eval')
" This won't do anything but must not crash either.
call balloon_show('hi!')
call balloon_show(range(3))
if !has('gui_running')
call balloon_show(range(3))
endif
endif
endfunc