Mercurial > vim
changeset 9822:a38dc0c523b8 v7.4.2186
commit https://github.com/vim/vim/commit/36d1c0fef4039fd4c91643c8ac107e78115158c9
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 8 22:46:14 2016 +0200
patch 7.4.2186
Problem: Timers test is flaky.
Solution: Relax the sleep time check.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 08 Aug 2016 23:00:06 +0200 |
parents | b360286fcdf2 |
children | def3b44e1ae1 |
files | src/testdir/test_timers.vim src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_timers.vim +++ b/src/testdir/test_timers.vim @@ -27,7 +27,7 @@ func Test_repeat_three() let timer = timer_start(50, 'MyHandler', {'repeat': 3}) let slept = WaitFor('g:val == 3') call assert_equal(3, g:val) - call assert_inrange(100, 250, slept) + call assert_inrange(80, 200, slept) endfunc func Test_repeat_many()