blob: 904387752015de937fe5709c8dbefc676206b962 [file] [log] [blame]
Bram Moolenaarb46fecd2019-06-15 17:58:09 +02001" Tests for 'ballooneval' in the GUI.
2
Bram Moolenaar39de6412019-08-08 21:52:39 +02003CheckGui
Bram Moolenaarb46fecd2019-06-15 17:58:09 +02004CheckFeature balloon_eval
5
6func Test_balloon_show_gui()
7 let msg = 'this this this this'
8 call balloon_show(msg)
9 call assert_equal(msg, balloon_gettext())
10 sleep 10m
11 call balloon_show('')
12
13 let msg = 'that that'
Bram Moolenaar073e4b92019-08-18 23:01:56 +020014 eval msg->balloon_show()
Bram Moolenaarb46fecd2019-06-15 17:58:09 +020015 call assert_equal(msg, balloon_gettext())
16 sleep 10m
17 call balloon_show('')
18endfunc
Bram Moolenaar6d91bcb2020-08-12 18:50:36 +020019
20" vim: shiftwidth=2 sts=2 expandtab