forked from cory/tildefriends
Avoid leaking some console colors.f
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4859 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
75cb9f7fd2
commit
4ebd44cb4e
@ -861,7 +861,7 @@ static void _tf_test_run(const tf_test_options_t* options, const char* name, voi
|
|||||||
#define MAGENTA "\e[1;35m"
|
#define MAGENTA "\e[1;35m"
|
||||||
#define CYAN "\e[1;36m"
|
#define CYAN "\e[1;36m"
|
||||||
#define RESET "\e[0m"
|
#define RESET "\e[0m"
|
||||||
tf_printf(CYAN "== running test " MAGENTA "%s" CYAN " ==\n" RESET, name);
|
tf_printf(CYAN "== running test " MAGENTA "%s" CYAN " ==" RESET "\n", name);
|
||||||
test(options);
|
test(options);
|
||||||
tf_printf("[" GREEN "pass" RESET "] %s\n", name);
|
tf_printf("[" GREEN "pass" RESET "] %s\n", name);
|
||||||
#undef GREEN
|
#undef GREEN
|
||||||
|
Loading…
Reference in New Issue
Block a user