1" Tests for 'ballooneval' in the GUI.
2
3source check.vim
4CheckGui
5CheckFeature balloon_eval
6
7func Test_balloon_show_gui()
8  let msg = 'this this this this'
9  call balloon_show(msg)
10  call assert_equal(msg, balloon_gettext())
11  sleep 10m
12  call balloon_show('')
13
14  let msg = 'that that'
15  eval msg->balloon_show()
16  call assert_equal(msg, balloon_gettext())
17  sleep 10m
18  call balloon_show('')
19endfunc
20
21" vim: shiftwidth=2 sts=2 expandtab
22