summaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test.c b/test.c
index 9dfe8c6..8622fe3 100644
--- a/test.c
+++ b/test.c
@@ -10,14 +10,14 @@ static int tests_failed = 0;
env *global_env = NULL;
-#define ASSERT(cond, msg) do { \
- tests_run++; \
- if (!(cond)) { \
- tests_failed++; \
+#define ASSERT(cond, msg) do { \
+ tests_run++; \
+ if (!(cond)) { \
+ tests_failed++; \
printf("FAIL: %s\n", msg); \
- } else { \
+ } else { \
printf("PASS: %s\n", msg); \
- } \
+ } \
} while (0)
void test_make_int() {