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

@@ -1592,6 +1592,10 @@ func Test_bufadd_bufload()
endfunc
func Test_readdir()
if isdirectory('Xdir')
call delete('Xdir', 'rf')
endif
call mkdir('Xdir')
call writefile([], 'Xdir/foo.txt')
call writefile([], 'Xdir/bar.txt')