From 30fcce7ad8abdc1920085fa86f39f855f69369fc Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 30 Mar 2012 11:01:20 +0200 Subject: Fix TEST_FALSE macro. --- tools/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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.") } \ } -- cgit v1.2.3