aboutsummaryrefslogtreecommitdiff
path: root/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test.h')
-rw-r--r--test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test.h b/test.h
index dd1ead0..da9485e 100644
--- a/test.h
+++ b/test.h
@@ -27,6 +27,6 @@ int tests_run = 0;
27int ret = 0; 27int ret = 0;
28 28
29#define check(cond, message) do { if (!(cond)) { fputs (message, stderr); fputc ('\n', stderr); return 0; } } while (0) 29#define check(cond, message) do { if (!(cond)) { fputs (message, stderr); fputc ('\n', stderr); return 0; } } while (0)
30#define run(test) do { tests_run++; if (!test ()) { ret = 1; } } while (0) 30#define run(test) do { if (!test ()) { ret = 1; } } while (0)
31 31
32#endif // ifndef _BRANDT_TEST_H 32#endif // ifndef _BRANDT_TEST_H