mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 00:22:41 +00:00
refactor(tests): get channel id via nvim_get_chan_info #27441
Minor "best practices" nudge.
This commit is contained in:
@@ -14,7 +14,7 @@ describe('notify', function()
|
||||
|
||||
before_each(function()
|
||||
clear()
|
||||
channel = api.nvim_get_api_info()[1]
|
||||
channel = api.nvim_get_chan_info(0).id
|
||||
end)
|
||||
|
||||
after_each(function()
|
||||
|
||||
Reference in New Issue
Block a user