refactor: hectic C: logger rules and results
This commit is contained in:
@@ -125,7 +125,7 @@ static void test_arena_reset_reuse(void) {
|
||||
|
||||
int main(void) {
|
||||
printf("%sRunning %s%s%s\n", OPTIONAL_COLOR(COLOR_GREEN), OPTIONAL_COLOR(COLOR_CYAN), __FILE__, OPTIONAL_COLOR(COLOR_RESET));
|
||||
init_logger();
|
||||
logger_init();
|
||||
|
||||
test_parse_json_object();
|
||||
test_parse_json_number();
|
||||
@@ -137,6 +137,7 @@ int main(void) {
|
||||
test_nested_json_object();
|
||||
test_arena_reset_reuse();
|
||||
|
||||
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