fix: remove previous executed directories to execute tests locally

This commit is contained in:
Shougo Matsushita
2021-05-14 21:54:52 +09:00
parent 4cb8a399c7
commit 77c2edcacb
3 changed files with 13 additions and 3 deletions

View File

@@ -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