changeset 19207:f92ccb8ca489 v8.2.0162

patch 8.2.0162: balloon test fails in the GUI Commit: https://github.com/vim/vim/commit/7d8ea0b24191d64155fcf9e8d2d2eefff91ae549 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 27 23:01:30 2020 +0100 patch 8.2.0162: balloon test fails in the GUI Problem: Balloon test fails in the GUI. Solution: Skip test in the GUI.
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Jan 2020 23:15:04 +0100
parents aef0009ba6e6
children f3dd340940a6
files src/testdir/test_functions.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_functions.vim
+++ b/src/testdir/test_functions.vim
@@ -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
 
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    162,
+/**/
     161,
 /**/
     160,