diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-02-12 05:50:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 05:50:39 -0800 |
commit | 0185152802d4a84258a9a04c1d86a7e27d37d721 (patch) | |
tree | 3880293029a66a8a009fff2f3489849c247c36db /test/functional/core/exit_spec.lua | |
parent | 210ec3b7a94c64263703087163a957567ddf4224 (diff) | |
download | rneovim-0185152802d4a84258a9a04c1d86a7e27d37d721.tar.gz rneovim-0185152802d4a84258a9a04c1d86a7e27d37d721.tar.bz2 rneovim-0185152802d4a84258a9a04c1d86a7e27d37d721.zip |
refactor(tests): get channel id via nvim_get_chan_info #27441
Minor "best practices" nudge.
Diffstat (limited to 'test/functional/core/exit_spec.lua')
-rw-r--r-- | test/functional/core/exit_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/core/exit_spec.lua b/test/functional/core/exit_spec.lua index b74ebb2367..d9e3cc3f31 100644 --- a/test/functional/core/exit_spec.lua +++ b/test/functional/core/exit_spec.lua @@ -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() |