Mercurial > vim
view src/testdir/test_balloon_gui.vim @ 19776:42e4083429a7
patch 8.2.0444: swap file test fails on some systems
Commit: https://github.com/vim/vim/commit/d36ef573b2fad620824495f5423cb649cde55e03
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 24 21:44:51 2020 +0100
patch 8.2.0444: swap file test fails on some systems
Problem: Swap file test fails on some systems.
Solution: Preserve the swap file. Send NL terminated keys.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 24 Mar 2020 21:45:05 +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