From 0a38b307cd6ae930a630d274f455a3648a829bbc Mon Sep 17 00:00:00 2001 From: BilligsterUser <49797107+BilligsterUser@users.noreply.github.com> Date: Thu, 5 Dec 2019 15:08:55 +0100 Subject: [PATCH] os_test: use rmdir() to del dirs --- vlib/os/os_test.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vlib/os/os_test.v b/vlib/os/os_test.v index 81daaa4120..b63bb9fc5d 100644 --- a/vlib/os/os_test.v +++ b/vlib/os/os_test.v @@ -207,11 +207,11 @@ fn cleanup_leftovers(){ // possible leftovers from test_cp_r os.rm('ex/ex2/ex2.txt') - os.rm('ex/ex2') + os.rmdir('ex/ex2') os.rm('ex/ex1.txt') - os.rm('ex') + os.rmdir('ex') os.rm('ex2/ex2.txt') - os.rm('ex2') + os.rmdir('ex2') os.rm('ex1.txt') os.rm('ex2.txt') }