summaryrefslogtreecommitdiff
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 ef28c1d..3bbf59a 100644
--- a/test.h
+++ b/test.h
@@ -8,7 +8,7 @@ void test_int_equals_imp(const char*, int, int);
#define test_int_equals(expression, expected) test_int_equals_imp(#expression, expression, expected)
void test_void_imp(const char*);
-#define test_void(expression) test_void_imp(#expression)
+#define test_void(expression) ((void)expression), test_void_imp(#expression)
void test_bool_imp(const char *, int, int);
#define test_false(expression) test_bool_imp(#expression, expression, 0)