view src/testdir/test_balloon_gui.vim @ 17678:723ec38d521e v8.1.1836

patch 8.1.1836: inaccurate memory estimate for Amiga-like OS commit https://github.com/vim/vim/commit/a9ab391a3a5283754ef216daacbaac446f1f9077 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 10 14:54:20 2019 +0200 patch 8.1.1836: inaccurate memory estimate for Amiga-like OS Problem: Inaccurate memory estimate for Amiga-like OS. Solution: Adjust #ifdef for AvailMem(). (Ola S?der, closes https://github.com/vim/vim/issues/4797)
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Aug 2019 15:00:06 +0200
parents 403ac78df9a0
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