From 7b8dd6fd50f01715401ab9c52db1354debedf668 Mon Sep 17 00:00:00 2001 From: Krzosa Karol Date: Sat, 27 Jan 2024 21:55:53 +0100 Subject: [PATCH] Mac debugging --- tests/test_filesystem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_filesystem.c b/tests/test_filesystem.c index bc97949..28f58bb 100644 --- a/tests/test_filesystem.c +++ b/tests/test_filesystem.c @@ -56,7 +56,8 @@ int main() { S8_String work_path = OS_GetWorkingDir(&arena); S8_String abs_path = OS_GetAbsolutePath(&arena, read_file_path); - IO_Assertf(OS_IsDir(dir_path), "%.*s", S8_Expand(dir_path)); + IO_Printf("dir_path = %.*s\n", S8_Expand(dir_path)); + IO_Assert(OS_IsDir(dir_path)); IO_Assert(!OS_IsFile(dir_path)); IO_Assert(OS_IsFile(exe_path));