Mercurial > vim
view src/testdir/test_balloon_gui.vim @ 17740:01205ef5646d v8.1.1867
patch 8.1.1867: still a timer test that is flaky on Mac
commit https://github.com/vim/vim/commit/315244d85b9b8faae549b1700e8cc2e45eaa68ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 17 13:18:16 2019 +0200
patch 8.1.1867: still a timer test that is flaky on Mac
Problem: Still a timer test that is flaky on Mac.
Solution: Loop with a sleep instead of one fixed sleep.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 17 Aug 2019 13:30:04 +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