forked from aniani/vim
patch 7.4.2186
Problem: Timers test is flaky. Solution: Relax the sleep time check.
This commit is contained in:
@@ -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()
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user