diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-07-01 16:20:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-01 16:20:34 +0200 |
commit | f133ab598f063b1d8afb5fb6f97f7f4702dd14ee (patch) | |
tree | a95257b613845901f543e675ebe906699380957f /test/functional/core | |
parent | a50a3a12d6dc877e63cc5645c68e15c512517ffb (diff) | |
parent | 27ea0d37e18d86c13c2e5ddb832ca6bff20f93de (diff) | |
download | rneovim-f133ab598f063b1d8afb5fb6f97f7f4702dd14ee.tar.gz rneovim-f133ab598f063b1d8afb5fb6f97f7f4702dd14ee.tar.bz2 rneovim-f133ab598f063b1d8afb5fb6f97f7f4702dd14ee.zip |
Merge pull request #14792 from shadmansaleh/refactor/mkdir_p
Refactor(tests): Use os commands in mkdir_p helper
Diffstat (limited to 'test/functional/core')
-rw-r--r-- | test/functional/core/startup_spec.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua index 658dfbda60..a70b94c0e9 100644 --- a/test/functional/core/startup_spec.lua +++ b/test/functional/core/startup_spec.lua @@ -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 |