From c6fde594e461b96e37bf5e0ffae08f1248a6fdbc Mon Sep 17 00:00:00 2001 From: Dialga Date: Mon, 7 Feb 2022 09:13:54 +1300 Subject: [PATCH] Add test in test_reading_zipping_files() --- vlib/szip/szip_test.v | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vlib/szip/szip_test.v b/vlib/szip/szip_test.v index 62bf4a550d..a362464787 100644 --- a/vlib/szip/szip_test.v +++ b/vlib/szip/szip_test.v @@ -68,7 +68,10 @@ fn test_reading_zipping_files() ? { file_name_list << 'file_${i:02}.txt' } + cleanup() os.mkdir(test_path) ? + os.mkdir(test_path2) ? + os.write_file(fpath3, 'file three') ? for c, f_name in file_name_list { tmp_path := os.join_path(test_path, f_name) os.write_file(tmp_path, 'file ${c:02}') ?