aboutsummaryrefslogtreecommitdiff
path: root/minctest.c
diff options
context:
space:
mode:
authorCamil Staps2015-12-04 17:05:49 +0100
committerCamil Staps2015-12-04 17:05:49 +0100
commit91fd7db456002896efccd3840e1a83b0f93edbd8 (patch)
tree7f89dbf40a26aea917e101ca255a768ccf44513f /minctest.c
parentTiming (diff)
Fix reseting terminal colour
Diffstat (limited to 'minctest.c')
-rw-r--r--minctest.c2
1 files changed, 1 insertions, 1 deletions
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;