mirror of
https://github.com/neovim/neovim.git
synced 2025-11-09 20:15:24 +00:00
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.
This commit is contained in:
@@ -29,7 +29,7 @@ describe(':let', function()
|
|||||||
it(":unlet self-referencing node in a List graph #6070", function()
|
it(":unlet self-referencing node in a List graph #6070", function()
|
||||||
-- :unlet-ing a self-referencing List must not allow GC on indirectly
|
-- :unlet-ing a self-referencing List must not allow GC on indirectly
|
||||||
-- referenced in-scope Lists. Before #6070 this caused use-after-free.
|
-- referenced in-scope Lists. Before #6070 this caused use-after-free.
|
||||||
expect_exit(100, source, [=[
|
expect_exit(1000, source, [=[
|
||||||
let [l1, l2] = [[], []]
|
let [l1, l2] = [[], []]
|
||||||
echo 'l1:' . id(l1)
|
echo 'l1:' . id(l1)
|
||||||
echo 'l2:' . id(l2)
|
echo 'l2:' . id(l2)
|
||||||
|
|||||||
Reference in New Issue
Block a user