diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-03-30 11:01:20 +0200 | 
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-03-30 11:01:20 +0200 | 
| commit | 30fcce7ad8abdc1920085fa86f39f855f69369fc (patch) | |
| tree | 3098569b4b9a2b52013de13645f3f85835cbd13c | |
| parent | 2c6db0e9994967de4b279d743f37e3ea2842bd68 (diff) | |
Fix TEST_FALSE macro.
| -rw-r--r-- | tools/test.h | 2 | 
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.") }  \    }  | 
