mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
3a574af3c4
commit
e7de3b5f84
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user