From 91fd7db456002896efccd3840e1a83b0f93edbd8 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Fri, 4 Dec 2015 17:05:49 +0100 Subject: Fix reseting terminal colour --- minctest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minctest.c b/minctest.c index 82bb552..d428f0f 100644 --- a/minctest.c +++ b/minctest.c @@ -68,7 +68,7 @@ void test_true(tester* tester, bool check, const char* text) { if (text != NULL) printf(": %s", text); printf(" [%.3fs]", ((float) end.tv_usec - tester->start_last_test.tv_usec) / 1000); - printf("\n" RESET); + printf(RESET "\n"); } *(check ? &tester->passed : &tester->failed) += 1; -- cgit v1.2.3