diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-01-19 14:46:07 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-01-19 14:46:29 +0100 |
commit | e7de3b5f841ec25fa9158380ca4ac54403003bc0 (patch) | |
tree | c1ea573bfd7a8f950a2ada565096d0dd0f8b1b0f | |
parent | 3a574af3c4193f2f3437ec49645b54e86a682088 (diff) | |
download | rneovim-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.
-rw-r--r-- | test/functional/eval/timer_spec.lua | 2 |
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) |