diff options
-rw-r--r-- | test.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -25,12 +25,10 @@ static void print_result(int success, const char *format, ...) char indicator = '+'; if (success) { - set_output_color(GREEN); - printf("+ "); + color = GREEN; passed++; } else { - set_output_color(RED); - printf("- "); + color = RED; failed++; } |