mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
test/timer_spec.lua: Relax expected count.
Test sometimes fails on AppVeyor (Windows). 300/50=6, but there could be environment factors that miss the timer interval on the "edges". timer_start() does not have such a hard requirement.
This commit is contained in:
@@ -81,7 +81,7 @@ describe('timers', function()
|
||||
run(nil, nil, nil, 300)
|
||||
feed("c")
|
||||
local count = eval("g:val")
|
||||
ok(count >= 5)
|
||||
ok(count >= 4)
|
||||
eq(99, eval("g:c"))
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user