test: typing for helpers.meths

This commit is contained in:
Lewis Russell
2024-01-12 12:44:54 +00:00
parent 284e0ad26d
commit c30f2e3182
141 changed files with 3342 additions and 3137 deletions

View File

@@ -3,14 +3,14 @@ local clear, source = helpers.clear, helpers.source
local call, eq, meths = helpers.call, helpers.eq, helpers.meths
local function expected_empty()
eq({}, meths.get_vvar('errors'))
eq({}, meths.nvim_get_vvar('errors'))
end
describe('buffer', function()
before_each(function()
clear()
meths.ui_attach(80, 24, {})
meths.set_option_value('hidden', false, {})
meths.nvim_ui_attach(80, 24, {})
meths.nvim_set_option_value('hidden', false, {})
end)
it('deleting a modified buffer with :confirm', function()