summaryrefslogtreecommitdiff
path: root/tools/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test.h')
-rw-r--r--tools/test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test.h b/tools/test.h
index 58ebd7d..6fb3e51 100644
--- a/tools/test.h
+++ b/tools/test.h
@@ -38,7 +38,7 @@
#define TEST_OK(m) { printf(" OK: "m"\n"); }
#define TEST_FAIL(m) { printf(" FAIL: "m"\n"); TEST_num_fails++; }
-#define TEST_MSG(fmt...) { TEST_num_tests++; printf(fmt); printf(" (line %d)\n", __LINE__); }
+#define TEST_MSG(fmt...) { TEST_num_tests++; printf("\n"); printf(fmt); printf(" (line %d)\n", __LINE__); }
#define TEST_TRUE(x, fmt...) { TEST_MSG(fmt); \
if(x) { TEST_OK(#x" is true.") } \