Mercurial > vim
view src/testdir/test_balloon_gui.vim @ 18039:ef5720fb6f41 v8.1.2015
patch 8.1.2015: terminal altscreen test still fails sometimes
Commit: https://github.com/vim/vim/commit/bf9a3b0164e649b357d6218b4358208288b6fb7e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 8 22:35:48 2019 +0200
patch 8.1.2015: terminal altscreen test still fails sometimes
Problem: Terminal altscreen test still fails sometimes.
Solution: Write the escape sequence in a file.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 08 Sep 2019 22:45:03 +0200 |
parents | 45eca7143d7c |
children | 08940efa6b4e |
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