test: hectic C: fix logger test

This commit is contained in:
2025-04-12 15:38:06 +00:00
parent 1f25c4fcad
commit 8981af315c
7 changed files with 19 additions and 9 deletions

View File

@@ -91,6 +91,7 @@ void test_arena_overwrite_detection() {
}
int main() {
printf("%sRunning %s%s%s\n", OPTIONAL_COLOR(COLOR_GREEN), OPTIONAL_COLOR(COLOR_CYAN), __FILE__, OPTIONAL_COLOR(COLOR_RESET));
init_logger();
test_arena_init();
@@ -101,5 +102,7 @@ int main() {
test_arena_strdup();
test_arena_repstr();
test_arena_overwrite_detection();
printf("%s%s all tests passed.%s\n", OPTIONAL_COLOR(COLOR_GREEN), __FILE__, OPTIONAL_COLOR(COLOR_RESET));
printf("%sall tests passed.%s%s%s\n", OPTIONAL_COLOR(COLOR_GREEN), OPTIONAL_COLOR(COLOR_CYAN), __FILE__, OPTIONAL_COLOR(COLOR_RESET));
return 0;
}