Mercurial > vim
view src/testdir/test_balloon_gui.vim @ 19779:f3162c3ed128 v8.2.0446
patch 8.2.0446: listener with undo of deleting all lines not tested
Commit: https://github.com/vim/vim/commit/a07e31af545b91925362854a48c42fee16dd8c28
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 25 21:13:46 2020 +0100
patch 8.2.0446: listener with undo of deleting all lines not tested
Problem: Listener with undo of deleting all lines not tested.
Solution: Add a test.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 25 Mar 2020 21:15:04 +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