Mercurial > vim
view src/testdir/test_balloon_gui.vim @ 19326:d1810b726592 v8.2.0221
patch 8.2.0221: no test for Vim9 += and ..=
Commit: https://github.com/vim/vim/commit/6e587dcbf319ea898ef50f7e367c46586a6f408a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 6 13:15:52 2020 +0100
patch 8.2.0221: no test for Vim9 += and ..=
Problem: No test for Vim9 += and ..=.
Solution: Add tests.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 Feb 2020 13:30:03 +0100 |
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