Skip to content

Commit

Permalink
test(let_spec): increase expect_exit() timeout
Browse files Browse the repository at this point in the history
Test ":unlet self-referencing node in a List graph neovim#6070" feeds many characters into typeahead, so a timeout of only 100 milliseconds sometimes fails. Change that timeout to 1000 milliseconds.
  • Loading branch information
zeertzjq authored and smjonas committed Dec 31, 2022
1 parent 7e8d398 commit e6dae9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/vimscript/let_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e6dae9f

Please sign in to comment.