mirror of
https://github.com/neovim/neovim.git
synced 2025-11-29 13:40:38 +00:00
test: tmpname(create:boolean) #30242
Problem:
137f98cf64 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.
This commit is contained in:
@@ -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"')
|
||||
|
||||
Reference in New Issue
Block a user