diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-25 13:55:52 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-25 13:55:52 +0200 |
commit | e0c3d0043da2f670cfdb1abbb3223d5a594ad8db (patch) | |
tree | ffe10129a5dbee7dd1bdaf6b918d3c3795cda8b7 /tests/tests.h | |
parent | Added more Multi-Block Stream test files. (diff) | |
download | xz-e0c3d0043da2f670cfdb1abbb3223d5a594ad8db.tar.xz |
Use more parenthesis in succeed() macro in tests/tests.h.
Diffstat (limited to '')
-rw-r--r-- | tests/tests.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |