aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-11-20 22:46:34 -0500
committerGitHub <noreply@github.com>2021-11-20 22:46:34 -0500
commit120a88163078e61b272e9629138642bc5df80e4a (patch)
tree0688ce1bcf39ab6836a49e4a3df4f6fa11214075 /test/functional
parent2bd8f2fb5ee958e210efa27286a8fe0c27b8dbbc (diff)
parent2c431943d663ee9bbd0434a2b34180bcf6a058e9 (diff)
downloadrneovim-120a88163078e61b272e9629138642bc5df80e4a.tar.gz
rneovim-120a88163078e61b272e9629138642bc5df80e4a.tar.bz2
rneovim-120a88163078e61b272e9629138642bc5df80e4a.zip
Merge pull request #14540 from Shougo/fix_vim8.1.1378
[RFC] Improve tests
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/legacy/packadd_spec.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/legacy/packadd_spec.lua b/test/functional/legacy/packadd_spec.lua
index 48cd3ef9f8..4f9f5a0237 100644
--- a/test/functional/legacy/packadd_spec.lua
+++ b/test/functional/legacy/packadd_spec.lua
@@ -20,6 +20,9 @@ describe('packadd', function()
func SetUp()
let s:topdir = expand(getcwd() . '/Xdir')
+ if isdirectory(s:topdir)
+ call delete(s:topdir, 'rf')
+ endif
exe 'set packpath=' . s:topdir
let s:plugdir = expand(s:topdir . '/pack/mine/opt/mytest')
endfunc