refactor: hectic C: logger rules and results
This commit is contained in:
@@ -92,7 +92,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();
|
||||
logger_init();
|
||||
|
||||
test_arena_init();
|
||||
test_arena_alloc();
|
||||
@@ -103,6 +103,7 @@ int main() {
|
||||
test_arena_repstr();
|
||||
test_arena_overwrite_detection();
|
||||
|
||||
logger_free();
|
||||
printf("%sall tests passed.%s%s%s\n", OPTIONAL_COLOR(COLOR_GREEN), OPTIONAL_COLOR(COLOR_CYAN), __FILE__, OPTIONAL_COLOR(COLOR_RESET));
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user