mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
oldtests: wait 200ms on mac for timer test
This commit is contained in:
parent
2ea6d3ab97
commit
3bad76008e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user