mirror of
https://github.com/neovim/neovim.git
synced 2025-11-09 20:15:24 +00:00
test: nvim_buf_attach: reduce delay
This test is mostly a demo/reference for: https://github.com/neovim/neovim/issues/8634#issuecomment-400940467 so let's not pay a 1s penalty.
This commit is contained in:
@@ -743,7 +743,7 @@ describe('API: buffer events:', function()
|
|||||||
|
|
||||||
it('nvim_buf_attach returns response after delay #8634', function()
|
it('nvim_buf_attach returns response after delay #8634', function()
|
||||||
clear()
|
clear()
|
||||||
sleep(1000)
|
sleep(250)
|
||||||
-- response
|
-- response
|
||||||
eq(true, helpers.request('nvim_buf_attach', 0, false, {}))
|
eq(true, helpers.request('nvim_buf_attach', 0, false, {}))
|
||||||
-- notification
|
-- notification
|
||||||
|
|||||||
Reference in New Issue
Block a user