diff options
Diffstat (limited to 'tests')
-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 185a6820..60a7276c 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -21,7 +21,7 @@ #define memcrap(buf, size) memset(buf, 0xFD, size) -#define expect(test) ((test) ? 0 : (fprintf(stderr, "%s:%u: %s\n", \ +#define expect(test) ((test) ? 0 : (fprintf(stderr, "%s:%d: %s\n", \ __FILE__, __LINE__, #test), abort(), 0)) #define succeed(test) expect(!(test)) |