From 42cff98227338d45263bbf7f1e858046ecb2cdb5 Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Mon, 15 Jun 2020 12:56:14 +0200 Subject: [PATCH] tytest: reset color just after using it --- src/bin/tytest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/tytest.c b/src/bin/tytest.c index c692d1aa..0853d6a9 100644 --- a/src/bin/tytest.c +++ b/src/bin/tytest.c @@ -42,7 +42,7 @@ _run_this_tytest(const char *name, tytest_func func) int res; fprintf(stderr, "\033[0m%s...", name); res = func(); - fprintf(stderr, " %s\n", res == 0 ? "\033[32m✔" : "\033[31;1m×"); + fprintf(stderr, " %s\033[0m\n", res == 0 ? "\033[32m✔" : "\033[31;1m×"); return res; }