mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 19:35:37 +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()
|
before_each(function()
|
||||||
rmdir(xhome)
|
rmdir(xhome)
|
||||||
|
|
||||||
-- TODO, make mkdir_p helper
|
mkdir_p(xconfig .. pathsep .. 'nvim')
|
||||||
mkdir(xhome)
|
|
||||||
mkdir(xconfig)
|
|
||||||
mkdir(xconfig .. pathsep .. 'nvim')
|
|
||||||
|
|
||||||
write_file(init_lua_path, [[
|
write_file(init_lua_path, [[
|
||||||
vim.g.lua_rc = 1
|
vim.g.lua_rc = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user