summaryrefslogtreecommitdiff
path: root/source/tests
diff options
context:
space:
mode:
Diffstat (limited to 'source/tests')
-rw-r--r--source/tests/file.test.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/source/tests/file.test.c b/source/tests/file.test.c
index c60c179..7a6224d 100644
--- a/source/tests/file.test.c
+++ b/source/tests/file.test.c
@@ -214,29 +214,21 @@ TEST("create folder") {
}
TEST("create folder recursive") {
- printf(" 1 \n");
- fflush(stdout);
REQUIRE_EQ(folder_create_recursive(
SZ("test_folder" PATH_DELIM "foo" PATH_DELIM "bar")),
KIT_OK);
- printf(" 2 \n");
- fflush(stdout);
REQUIRE_EQ(path_type(SZ("test_folder")), PATH_FOLDER);
- printf(" 3 \n");
- fflush(stdout);
REQUIRE_EQ(path_type(SZ("test_folder" PATH_DELIM "foo")),
PATH_FOLDER);
- printf(" 4 \n");
- fflush(stdout);
REQUIRE_EQ(
path_type(SZ("test_folder" PATH_DELIM "foo" PATH_DELIM "bar")),
PATH_FOLDER);
- printf(" 5 \n");
- fflush(stdout);
REQUIRE_EQ(file_remove_recursive(SZ("test_folder"), NULL), KIT_OK);
- printf(" 6 \n");
+ printf(" 1 \n");
fflush(stdout);
REQUIRE_EQ(path_type(SZ("test_folder")), PATH_NONE);
+ printf(" 2 \n");
+ fflush(stdout);
}
TEST("file remove") {