mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
test: tmpname() can skip file creation
This commit is contained in:
@@ -74,8 +74,7 @@ describe('vim.loader', function()
|
||||
vim.loader.enable()
|
||||
]]
|
||||
|
||||
local tmp = t.tmpname()
|
||||
assert(os.remove(tmp))
|
||||
local tmp = t.tmpname(false)
|
||||
assert(t.mkdir(tmp))
|
||||
assert(t.mkdir(tmp .. '/%'))
|
||||
local tmp1 = tmp .. '/%/x'
|
||||
|
||||
Reference in New Issue
Block a user