neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit a78606ec53f7e46884fad274e58c79b8e126b39a
parent 37ab823e6e2c18892271f2f0a3a4f2f3e8e853f4
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Fri,  5 Aug 2022 08:32:54 +0800

test(let_spec): increase expect_exit() timeout

Test ":unlet self-referencing node in a List graph #6070" feeds many characters into typeahead, so a timeout of only 100 milliseconds sometimes fails. Change that timeout to 1000 milliseconds.
Diffstat:
Mtest/functional/vimscript/let_spec.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/functional/vimscript/let_spec.lua b/test/functional/vimscript/let_spec.lua @@ -29,7 +29,7 @@ describe(':let', function() it(":unlet self-referencing node in a List graph #6070", function() -- :unlet-ing a self-referencing List must not allow GC on indirectly -- referenced in-scope Lists. Before #6070 this caused use-after-free. - expect_exit(100, source, [=[ + expect_exit(1000, source, [=[ let [l1, l2] = [[], []] echo 'l1:' . id(l1) echo 'l2:' . id(l2)