refactor(tests): get channel id via nvim_get_chan_info #27441

Minor "best practices" nudge.
This commit is contained in:
Justin M. Keyes
2024-02-12 05:50:39 -08:00
committed by GitHub
parent 210ec3b7a9
commit 0185152802
10 changed files with 22 additions and 22 deletions

View File

@@ -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()