mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
feat(test): add Lua forms for API methods (#20152)
This commit is contained in:
@@ -15,7 +15,7 @@ describe('vim.spell', function()
|
||||
end
|
||||
|
||||
it('can handle nil', function()
|
||||
eq([[Error executing lua: [string "<nvim>"]:0: bad argument #1 to 'check' (expected string)]],
|
||||
eq([[bad argument #1 to 'check' (expected string)]],
|
||||
pcall_err(exec_lua, [[vim.spell.check(nil)]]))
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user