1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os_test: use rmdir() to del dirs

This commit is contained in:
BilligsterUser 2019-12-05 15:08:55 +01:00 committed by Alexander Medvednikov
parent 98374ea6fe
commit 0a38b307cd

View File

@ -207,11 +207,11 @@ fn cleanup_leftovers(){
// possible leftovers from test_cp_r // possible leftovers from test_cp_r
os.rm('ex/ex2/ex2.txt') os.rm('ex/ex2/ex2.txt')
os.rm('ex/ex2') os.rmdir('ex/ex2')
os.rm('ex/ex1.txt') os.rm('ex/ex1.txt')
os.rm('ex') os.rmdir('ex')
os.rm('ex2/ex2.txt') os.rm('ex2/ex2.txt')
os.rm('ex2') os.rmdir('ex2')
os.rm('ex1.txt') os.rm('ex1.txt')
os.rm('ex2.txt') os.rm('ex2.txt')
} }