Use more parenthesis in succeed() macro in tests/tests.h.

This commit is contained in:
Lasse Collin 2008-01-25 13:55:52 +02:00
parent 1fd76d4881
commit e0c3d0043d
1 changed files with 1 additions and 1 deletions

View File

@ -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)