aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/timer_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-01-19 14:46:07 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-01-19 14:46:29 +0100
commite7de3b5f841ec25fa9158380ca4ac54403003bc0 (patch)
treec1ea573bfd7a8f950a2ada565096d0dd0f8b1b0f /test/functional/eval/timer_spec.lua
parent3a574af3c4193f2f3437ec49645b54e86a682088 (diff)
downloadrneovim-e7de3b5f841ec25fa9158380ca4ac54403003bc0.tar.gz
rneovim-e7de3b5f841ec25fa9158380ca4ac54403003bc0.tar.bz2
rneovim-e7de3b5f841ec25fa9158380ca4ac54403003bc0.zip
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.
Diffstat (limited to 'test/functional/eval/timer_spec.lua')
-rw-r--r--test/functional/eval/timer_spec.lua2
1 files changed, 1 insertions, 1 deletions
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)