aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/curlcheck.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/curlcheck.h')
-rw-r--r--tests/unit/curlcheck.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/curlcheck.h b/tests/unit/curlcheck.h
index c358afa6e..ecc556533 100644
--- a/tests/unit/curlcheck.h
+++ b/tests/unit/curlcheck.h
@@ -52,7 +52,7 @@
fprintf(stderr, "%s:%d test failed: '%s'\n", \
__FILE__, __LINE__, msg); \
unitfail++; \
- } WHILE_FALSE
+ } while(0)
/* The abort macros mark the current test step as failed, and exit the test */
@@ -77,7 +77,7 @@
__FILE__, __LINE__, msg); \
unitfail++; \
goto unit_test_abort; \
- } WHILE_FALSE
+ } while(0)