summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test.c6
1 files 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++;
}