diff options
author | Mattias Andrée <maandree@kth.se> | 2018-08-29 12:55:52 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-08-29 12:55:52 +0200 |
commit | 280258050d3c129614d60bca4d6df31288dc2573 (patch) | |
tree | a72ecb0feaf0ca0659383ff2eb3707a9e4340eb6 /test.h | |
parent | Add tests (diff) | |
download | libsimple-280258050d3c129614d60bca4d6df31288dc2573.tar.gz libsimple-280258050d3c129614d60bca4d6df31288dc2573.tar.bz2 libsimple-280258050d3c129614d60bca4d6df31288dc2573.tar.xz |
Add tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'test.h')
-rw-r--r-- | test.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,14 +34,14 @@ stderr_ok = old_stderr_ok__;\ break;\ }\ - assert(EXPR);\ + EXPR;\ assert_unreached();\ } while (0) #define assert_exit_ptr(EXPR)\ do {\ void *volatile ptr__;\ - assert_exit((ptr__ = (EXPR)));\ + assert_exit((void)(ptr__ = (EXPR)));\ } while (0) #define assert_stderr(FMT, ...)\ |