diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-01-04 16:14:23 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-01-04 16:14:23 +0100 |
commit | 1602ed6ba1a554f36c99fcc03138f0d47faa4f4a (patch) | |
tree | 3652e42c552c619937d881c66740ed7a687373f6 /tests/unit | |
parent | 9e46318a03eaf3aa34e870234599804f80686746 (diff) |
curlcheck.h: add newlines in error messages
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/curlcheck.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/curlcheck.h b/tests/unit/curlcheck.h index 66f0d3ddb..524dbbce8 100644 --- a/tests/unit/curlcheck.h +++ b/tests/unit/curlcheck.h @@ -11,16 +11,16 @@ #define fail_if(expr, msg) \ if(expr) { \ - fprintf(stderr, "%s:%d Assertion '%s' met: %s" , \ + fprintf(stderr, "%s:%d Assertion '%s' met: %s\n" , \ __FILE__, __LINE__, #expr, msg); \ unitfail++; \ } -#define fail_unless(expr, msg) \ - if(!(expr)) { \ - fprintf(stderr, "%s:%d Assertion '%s' failed: %s" , \ - __FILE__, __LINE__, #expr, msg); \ - unitfail++; \ +#define fail_unless(expr, msg) \ + if(!(expr)) { \ + fprintf(stderr, "%s:%d Assertion '%s' failed: %s\n", \ + __FILE__, __LINE__, #expr, msg); \ + unitfail++; \ } extern int unitfail; |