mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
refactor(tests): get channel id via nvim_get_chan_info #27441
Minor "best practices" nudge.
This commit is contained in:
@@ -18,7 +18,7 @@ describe('v:exiting', function()
|
||||
|
||||
before_each(function()
|
||||
helpers.clear()
|
||||
cid = helpers.api.nvim_get_api_info()[1]
|
||||
cid = helpers.api.nvim_get_chan_info(0).id
|
||||
end)
|
||||
|
||||
it('defaults to v:null', function()
|
||||
|
||||
Reference in New Issue
Block a user