1
0
forked from aniani/vim

patch 7.4.2186

Problem:    Timers test is flaky.
Solution:   Relax the sleep time check.
This commit is contained in:
Bram Moolenaar
2016-08-08 22:46:14 +02:00
parent 71dd9744cf
commit 36d1c0fef4
2 changed files with 3 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ func Test_repeat_three()
let timer = timer_start(50, 'MyHandler', {'repeat': 3}) let timer = timer_start(50, 'MyHandler', {'repeat': 3})
let slept = WaitFor('g:val == 3') let slept = WaitFor('g:val == 3')
call assert_equal(3, g:val) call assert_equal(3, g:val)
call assert_inrange(100, 250, slept) call assert_inrange(80, 200, slept)
endfunc endfunc
func Test_repeat_many() func Test_repeat_many()

View File

@@ -763,6 +763,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2186,
/**/ /**/
2185, 2185,
/**/ /**/