mirror of
https://github.com/neovim/neovim.git
synced 2025-11-30 14:10:50 +00:00
test: rename (meths, funcs) -> (api, fn)
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
local helpers = require('test.functional.helpers')(after_each)
|
||||
local clear, source = helpers.clear, helpers.source
|
||||
local call, eq, meths = helpers.call, helpers.eq, helpers.meths
|
||||
local call, eq, api = helpers.call, helpers.eq, helpers.api
|
||||
local is_os = helpers.is_os
|
||||
local skip = helpers.skip
|
||||
|
||||
local function expected_empty()
|
||||
eq({}, meths.nvim_get_vvar('errors'))
|
||||
eq({}, api.nvim_get_vvar('errors'))
|
||||
end
|
||||
|
||||
describe('file changed dialog', function()
|
||||
before_each(function()
|
||||
clear()
|
||||
meths.nvim_ui_attach(80, 24, {})
|
||||
meths.nvim_set_option_value('autoread', false, {})
|
||||
meths.nvim_set_option_value('fsync', true, {})
|
||||
api.nvim_ui_attach(80, 24, {})
|
||||
api.nvim_set_option_value('autoread', false, {})
|
||||
api.nvim_set_option_value('fsync', true, {})
|
||||
end)
|
||||
|
||||
it('works', function()
|
||||
|
||||
Reference in New Issue
Block a user