From a0ade77353f23a41e04ef20064577e14814fb386 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 26 Oct 2022 18:21:52 +0800 Subject: [PATCH] vim-patch:8.2.0162: balloon test fails in the GUI Problem: Balloon test fails in the GUI. Solution: Skip test in the GUI. https://github.com/vim/vim/commit/7d8ea0b24191d64155fcf9e8d2d2eefff91ae549 Co-authored-by: Bram Moolenaar --- src/nvim/testdir/test_functions.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim index 7049602d98..50005c6c37 100644 --- a/src/nvim/testdir/test_functions.vim +++ b/src/nvim/testdir/test_functions.vim @@ -1320,6 +1320,9 @@ func Test_balloon_show() " This won't do anything but must not crash either. call balloon_show('hi!') + if !has('gui_running') + call balloon_show(range(3)) + endif endfunc func Test_shellescape()