view src/testdir/test_balloon_gui.vim @ 17663:403ac78df9a0 v8.1.1829

patch 8.1.1829: difference in screenshots commit https://github.com/vim/vim/commit/39de6413c8b7bae882bed3dba636f6d52d793087 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 8 21:52:39 2019 +0200 patch 8.1.1829: difference in screenshots Problem: Difference in screenshots. Solution: Update screenshots. Change checks in a few more tests. (closes #4789)
author Bram Moolenaar <Bram@vim.org>
date Thu, 08 Aug 2019 22:00:05 +0200
parents 8e9e9124c7a2
children 45eca7143d7c
line wrap: on
line source

" Tests for 'ballooneval' in the GUI.

source check.vim
CheckGui
CheckFeature balloon_eval

func Test_balloon_show_gui()
  let msg = 'this this this this'
  call balloon_show(msg)
  call assert_equal(msg, balloon_gettext())
  sleep 10m
  call balloon_show('')

  let msg = 'that that'
  call balloon_show(msg)
  call assert_equal(msg, balloon_gettext())
  sleep 10m
  call balloon_show('')
endfunc