diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-08-05 08:32:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-05 08:32:54 +0800 |
commit | a78606ec53f7e46884fad274e58c79b8e126b39a (patch) | |
tree | 2f53449f01a178936bb656a1de188de47d71c72f | |
parent | 37ab823e6e2c18892271f2f0a3a4f2f3e8e853f4 (diff) | |
download | rneovim-a78606ec53f7e46884fad274e58c79b8e126b39a.tar.gz rneovim-a78606ec53f7e46884fad274e58c79b8e126b39a.tar.bz2 rneovim-a78606ec53f7e46884fad274e58c79b8e126b39a.zip |
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.
-rw-r--r-- | test/functional/vimscript/let_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/vimscript/let_spec.lua b/test/functional/vimscript/let_spec.lua index 86905199a8..164fa86452 100644 --- 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) |