tytest: reset color just after using it

devs/bu5hm4n/fix-for-billiob
Boris Faure 3 years ago
parent 2b5f698c91
commit 42cff98227
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
  1. 2
      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;
}

Loading…
Cancel
Save