aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/packadd_spec.lua
diff options
context:
space:
mode:
authorShougo <Shougo.Matsu@gmail.com>2021-05-07 21:07:13 +0900
committerGitHub <noreply@github.com>2021-05-07 08:07:13 -0400
commit4be0e92db01a502863ac4bb26dd0fee16d833145 (patch)
treee6e578f6d598769c2a465974c07c29eca1aadddf /test/functional/legacy/packadd_spec.lua
parent17434b88b4892218386b49b400e7eb6d265000ff (diff)
downloadrneovim-4be0e92db01a502863ac4bb26dd0fee16d833145.tar.gz
rneovim-4be0e92db01a502863ac4bb26dd0fee16d833145.tar.bz2
rneovim-4be0e92db01a502863ac4bb26dd0fee16d833145.zip
vim-patch:8.1.1378: delete() can not handle a file name that looks like a pattern (#12784)
Problem: Delete() can not handle a file name that looks like a pattern. Solution: Use readdir() instead of appending "/*" and expanding wildcards. (Ken Takata, closes vim/vim#4424, closes vim/vim#696) https://github.com/vim/vim/commit/701ff0a3e53d253d7300c385e582659bbff7860d
Diffstat (limited to 'test/functional/legacy/packadd_spec.lua')
-rw-r--r--test/functional/legacy/packadd_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/legacy/packadd_spec.lua b/test/functional/legacy/packadd_spec.lua
index 609f825177..3c84105c6b 100644
--- a/test/functional/legacy/packadd_spec.lua
+++ b/test/functional/legacy/packadd_spec.lua
@@ -20,6 +20,7 @@ describe('packadd', function()
func SetUp()
let s:topdir = expand(getcwd() . '/Xdir')
+ call delete(s:topdir, 'rf')
exe 'set packpath=' . s:topdir
let s:plugdir = expand(s:topdir . '/pack/mine/opt/mytest')
endfunc