aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/lsp_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/plugin/lsp_spec.lua')
-rw-r--r--test/functional/plugin/lsp_spec.lua24
1 files changed, 0 insertions, 24 deletions
diff --git a/test/functional/plugin/lsp_spec.lua b/test/functional/plugin/lsp_spec.lua
index ce76861b9a..fb153b83ca 100644
--- a/test/functional/plugin/lsp_spec.lua
+++ b/test/functional/plugin/lsp_spec.lua
@@ -139,30 +139,6 @@ describe('LSP', function()
end)
end)
end)
-
- describe('lsp._cmd_parts test', function()
- local function _cmd_parts(input)
- return exec_lua(
- [[
- lsp = require('vim.lsp')
- return lsp._cmd_parts(...)
- ]],
- input
- )
- end
- it('should valid cmd argument', function()
- eq(true, pcall(_cmd_parts, { 'nvim' }))
- eq(true, pcall(_cmd_parts, { 'nvim', '--head' }))
- end)
-
- it('should invalid cmd argument', function()
- eq('.../lsp.lua:0: cmd: expected list, got nvim', pcall_err(_cmd_parts, 'nvim'))
- eq(
- '.../lsp.lua:0: cmd argument: expected string, got number',
- pcall_err(_cmd_parts, { 'nvim', 1 })
- )
- end)
- end)
end)
describe('LSP', function()