diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2024-09-02 19:14:09 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2024-09-02 20:19:50 +0200 |
commit | 137f98cf6428a55b1b7687c151d8481c1deb9347 (patch) | |
tree | 043b7c4cd4d1b0f89352d48b9f6c62ed08b91a9d /test/functional/lua/loader_spec.lua | |
parent | ef8067a19d981388a14407ea08245811cf5b3604 (diff) | |
download | rneovim-137f98cf6428a55b1b7687c151d8481c1deb9347.tar.gz rneovim-137f98cf6428a55b1b7687c151d8481c1deb9347.tar.bz2 rneovim-137f98cf6428a55b1b7687c151d8481c1deb9347.zip |
test: tmpname() can skip file creation
Diffstat (limited to 'test/functional/lua/loader_spec.lua')
-rw-r--r-- | test/functional/lua/loader_spec.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/lua/loader_spec.lua b/test/functional/lua/loader_spec.lua index 7d71e33ced..06403e856c 100644 --- a/test/functional/lua/loader_spec.lua +++ b/test/functional/lua/loader_spec.lua @@ -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' |