summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test.h b/tools/test.h
index 4770a1e..74ace25 100644
--- a/tools/test.h
+++ b/tools/test.h
@@ -79,7 +79,7 @@
#define TEST_FALSE(x, fmt...) { \
TEST_BASE(fmt); \
- if(!x) { TEST_OK(#x" is false.") } \
+ if(!(x)) { TEST_OK(#x" is false.") } \
else { TEST_FAIL(#x" is not false.") } \
}