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:
Justin M. Keyes 2017-01-19 14:46:07 +01:00
parent 3a574af3c4
commit e7de3b5f84

View File

@ -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)