diff options
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; |