Mercurial > vim
view src/testdir/test_balloon_gui.vim @ 20735:298ef749e5fb v8.2.0920
patch 8.2.0920: writing viminfo fails with a circular reference
Commit: https://github.com/vim/vim/commit/5b157fe2edfdce5f77080aeac2b4a03f39eb1c1a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 16:08:08 2020 +0200
patch 8.2.0920: writing viminfo fails with a circular reference
Problem: Writing viminfo fails with a circular reference.
Solution: Use copyID to detect the cycle. (closes https://github.com/vim/vim/issues/6217)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Jun 2020 16:15:03 +0200 |
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