mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
Refactor(tests): mkdir_p in startup/init.lua test
This commit is contained in:
@@ -443,10 +443,7 @@ describe('user config init', function()
|
||||
before_each(function()
|
||||
rmdir(xhome)
|
||||
|
||||
-- TODO, make mkdir_p helper
|
||||
mkdir(xhome)
|
||||
mkdir(xconfig)
|
||||
mkdir(xconfig .. pathsep .. 'nvim')
|
||||
mkdir_p(xconfig .. pathsep .. 'nvim')
|
||||
|
||||
write_file(init_lua_path, [[
|
||||
vim.g.lua_rc = 1
|
||||
|
||||
Reference in New Issue
Block a user