mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
feat(test): add Lua forms for API methods (#20152)
This commit is contained in:
@@ -238,9 +238,9 @@ describe('LSP', function()
|
||||
end)
|
||||
|
||||
it('should invalid cmd argument', function()
|
||||
eq('Error executing lua: .../lsp.lua:0: cmd: expected list, got nvim',
|
||||
eq('.../lsp.lua:0: cmd: expected list, got nvim',
|
||||
pcall_err(_cmd_parts, 'nvim'))
|
||||
eq('Error executing lua: .../lsp.lua:0: cmd argument: expected string, got number',
|
||||
eq('.../lsp.lua:0: cmd argument: expected string, got number',
|
||||
pcall_err(_cmd_parts, {'nvim', 1}))
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user