refactor: hectic C: logger rules and results
This commit is contained in:
@@ -71,7 +71,7 @@ static void test_template_node_to_debug_str(Arena *arena) {
|
||||
|
||||
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();
|
||||
|
||||
Arena arena = arena_init(ARENA_SIZE);
|
||||
|
||||
@@ -87,6 +87,7 @@ int main(void) {
|
||||
//printf("%sTest 1: template_parse passed%s\n", OPTIONAL_COLOR(COLOR_GREEN), OPTIONAL_COLOR(COLOR_RESET));
|
||||
//arena_reset(&arena);
|
||||
|
||||
logger_free();
|
||||
arena_free(&arena);
|
||||
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