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