From e7de3b5f841ec25fa9158380ca4ac54403003bc0 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Thu, 19 Jan 2017 14:46:07 +0100 Subject: 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. --- test/functional/eval/timer_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/eval') diff --git a/test/functional/eval/timer_spec.lua b/test/functional/eval/timer_spec.lua index fba9466b78..4353619ff0 100644 --- a/test/functional/eval/timer_spec.lua +++ b/test/functional/eval/timer_spec.lua @@ -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) -- cgit