mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
test: rename (meths, funcs) -> (api, fn)
This commit is contained in:
@@ -7,7 +7,7 @@ local feed_command = helpers.feed_command
|
||||
local command = helpers.command
|
||||
local eq = helpers.eq
|
||||
local eval = helpers.eval
|
||||
local meths = helpers.meths
|
||||
local api = helpers.api
|
||||
local sleep = vim.uv.sleep
|
||||
local retry = helpers.retry
|
||||
local is_os = helpers.is_os
|
||||
@@ -19,7 +19,7 @@ describe(':terminal', function()
|
||||
clear()
|
||||
-- set the statusline to a constant value because of variables like pid
|
||||
-- and current directory and to improve visibility of splits
|
||||
meths.nvim_set_option_value('statusline', '==========', {})
|
||||
api.nvim_set_option_value('statusline', '==========', {})
|
||||
command('highlight StatusLine cterm=NONE')
|
||||
command('highlight StatusLineNC cterm=NONE')
|
||||
command('highlight VertSplit cterm=NONE')
|
||||
@@ -69,10 +69,10 @@ describe(':terminal', function()
|
||||
end)
|
||||
|
||||
it('does not change size if updated when not visible in any window #19665', function()
|
||||
local channel = meths.nvim_get_option_value('channel', {})
|
||||
local channel = api.nvim_get_option_value('channel', {})
|
||||
command('enew')
|
||||
sleep(100)
|
||||
meths.nvim_chan_send(channel, 'foo')
|
||||
api.nvim_chan_send(channel, 'foo')
|
||||
sleep(100)
|
||||
command('bprevious')
|
||||
screen:expect([[
|
||||
|
||||
Reference in New Issue
Block a user