diff src/testdir/test_popup.vim @ 12887:ffc7004e9041 v8.0.1320

patch 8.0.1320: popup test fails on GUI-only build commit https://github.com/vim/vim/commit/7221fce8b395972b57aea5f36ba2844fe1d4c259 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 19 20:32:49 2017 +0100 patch 8.0.1320: popup test fails on GUI-only build Problem: Popup test fails on GUI-only build. Solution: Don't test balloon_split() when it's not available.
author Christian Brabandt <cb@256bit.org>
date Sun, 19 Nov 2017 20:45:05 +0100
parents 058e93aee621
children 5045d3076db0
line wrap: on
line diff
--- a/src/testdir/test_popup.vim
+++ b/src/testdir/test_popup.vim
@@ -704,6 +704,9 @@ func Test_popup_and_preview_autocommand(
 endfunc
 
 func Test_balloon_split()
+  if !exists('*balloon_split')
+    return
+  endif
   call assert_equal([
         \ 'one two three four one two three four one two thre',
         \ 'e four',