oldtests: wait 200ms on mac for timer test

This commit is contained in:
Jan Edmund Lazo 2019-03-16 10:14:13 -04:00
parent 2ea6d3ab97
commit 3bad76008e

View File

@ -47,6 +47,9 @@ func Test_repeat_many()
call timer_stopall()
let g:val = 0
let timer = timer_start(50, 'MyHandler', {'repeat': -1})
if has('mac')
sleep 200m
endif
sleep 200m
call timer_stop(timer)
call assert_inrange((has('mac') ? 1 : 2), 4, g:val)