Skip to content
Snippets Groups Projects
Commit 1602ed6b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

curlcheck.h: add newlines in error messages

parent 9e46318a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment