aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/server_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-09-03 02:18:17 -0700
committerGitHub <noreply@github.com>2024-09-03 02:18:17 -0700
commitea2d9493514a82bb5077e73957a22648cb5d7d14 (patch)
treead7254108729759fe2e27746179c212d0a58089a /test/functional/vimscript/server_spec.lua
parentae9674704ac5586438f60c883e918d448ef0e237 (diff)
downloadrneovim-ea2d9493514a82bb5077e73957a22648cb5d7d14.tar.gz
rneovim-ea2d9493514a82bb5077e73957a22648cb5d7d14.tar.bz2
rneovim-ea2d9493514a82bb5077e73957a22648cb5d7d14.zip
test: tmpname(create:boolean) #30242
Problem: 137f98cf6428 added the `create` parameter to `tmpname()` but didn't fully implement it. Solution: - Update impl for the `os.tmpname()` codepath. - Inspect all usages of `tmpname()`, update various tests.
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"')