Mercurial > vim
view src/testdir/test_balloon_gui.vim @ 26907:6f43253463cc v8.2.3982
patch 8.2.3982: some lines of code not covered by tests
Commit: https://github.com/vim/vim/commit/8bfa0eb863357c1013024233ebb2e95a0a848002
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Sun Jan 2 16:16:33 2022 +0000
patch 8.2.3982: some lines of code not covered by tests
Problem: Some lines of code not covered by tests.
Solution: Add a few more test cases. (Dominique Pell?, closes https://github.com/vim/vim/issues/9453)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 02 Jan 2022 17:30:02 +0100 |
parents | 08940efa6b4e |
children |
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 " vim: shiftwidth=2 sts=2 expandtab