Refactor(tests): mkdir_p in startup/init.lua test

This commit is contained in:
shadmansaleh
2021-06-12 23:15:38 +06:00
parent b82d8faf53
commit 27ea0d37e1

View File

@@ -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