view src/testdir/test_balloon_gui.vim @ 34995:7d167edb4c3d v9.1.0353

patch 9.1.0353: tests: Test_autoload_import_relative_compiled fails on Windows Commit: https://github.com/vim/vim/commit/6f1d05b85a4543b9806ea48926f6d4f497ad720a Author: Ernie Rael <errael@raelity.com> Date: Thu Apr 18 22:53:33 2024 +0200 patch 9.1.0353: tests: Test_autoload_import_relative_compiled fails on Windows Problem: tests: Test_autoload_import_relative_compiled fails on Windows Solution: Disable on Windows for now, add missing :bw for clean-up (Ernie Rael) closes: #14579 Signed-off-by: Ernie Rael <errael@raelity.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 18 Apr 2024 23:00:04 +0200
parents 08940efa6b4e
children
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'
  eval msg->balloon_show()
  call assert_equal(msg, balloon_gettext())
  sleep 10m
  call balloon_show('')
endfunc

" vim: shiftwidth=2 sts=2 expandtab