From e0c3d0043da2f670cfdb1abbb3223d5a594ad8db Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 25 Jan 2008 13:55:52 +0200 Subject: [PATCH] Use more parenthesis in succeed() macro in tests/tests.h. --- tests/tests.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.h b/tests/tests.h index 08a3991c..c7b43fd0 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -29,7 +29,7 @@ #define expect(test) ((test) ? 0 : (fprintf(stderr, "%s:%u: %s\n", \ __FILE__, __LINE__, #test), exit(1), 0)) -#define succeed(test) expect(!test) +#define succeed(test) expect(!(test)) #define fail(test) expect(test)