aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/packadd_spec.lua
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2021-05-14 21:54:52 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2021-11-19 13:45:40 +0900
commit77c2edcacb747952d43eb50a12e34040d7b61d42 (patch)
tree8d3174580780c6055a92b933c9e13ccb7fd13bdd /test/functional/legacy/packadd_spec.lua
parent4cb8a399c7a6888cfc2dedb08f3a539d5af424e2 (diff)
downloadrneovim-77c2edcacb747952d43eb50a12e34040d7b61d42.tar.gz
rneovim-77c2edcacb747952d43eb50a12e34040d7b61d42.tar.bz2
rneovim-77c2edcacb747952d43eb50a12e34040d7b61d42.zip
fix: remove previous executed directories to execute tests locally
Diffstat (limited to 'test/functional/legacy/packadd_spec.lua')
-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