mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
@@ -192,9 +192,10 @@ describe('timers', function()
|
|||||||
]])
|
]])
|
||||||
command("call timer_start(2, 'MyHandler', {'repeat': 3})")
|
command("call timer_start(2, 'MyHandler', {'repeat': 3})")
|
||||||
command("call timer_start(4, 'MyHandler2', {'repeat': 2})")
|
command("call timer_start(4, 'MyHandler2', {'repeat': 2})")
|
||||||
run(nil, nil, nil, load_adjust(30))
|
retry(nil, nil, function()
|
||||||
eq(3,eval("g:val"))
|
eq(3, eval("g:val"))
|
||||||
eq(2,eval("g:val2"))
|
eq(2, eval("g:val2"))
|
||||||
|
end)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('do not crash when processing events in the handler', function()
|
it('do not crash when processing events in the handler', function()
|
||||||
|
Reference in New Issue
Block a user