aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/server_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/vimscript/server_spec.lua')
-rw-r--r--test/functional/vimscript/server_spec.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/vimscript/server_spec.lua b/test/functional/vimscript/server_spec.lua
index 836d841f69..2dabe1afc1 100644
--- a/test/functional/vimscript/server_spec.lua
+++ b/test/functional/vimscript/server_spec.lua
@@ -188,8 +188,7 @@ describe('startup --listen', function()
return
end
matches(expected, output)
- cmd = vim.list_extend({ unpack(n.nvim_argv) }, args)
- matches(expected, fn.system(cmd))
+ matches(expected, fn.system(vim.list_extend({ unpack(n.nvim_argv) }, args)))
end
_test({ '--listen' }, 'nvim.*: Argument missing after: "%-%-listen"')