From e6a6a3b47a0da3ae477d4b832e9b1bd05f4a8128 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 28 Feb 2019 20:22:20 -0500 Subject: fix color and indicator output --- test.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test.c b/test.c index 51ce05f..f6e8ead 100644 --- a/test.c +++ b/test.c @@ -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++; } -- cgit v1.2.1