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 4b4d32c8d..96203e075 100644
--- a/tests/unit/curlcheck.h
+++ b/tests/unit/curlcheck.h
@@ -49,7 +49,7 @@
fprintf(stderr, "%s:%d test failed: '%s'\n", \
__FILE__, __LINE__, msg); \
unitfail++; \
- } while(0)
+ } WHILE_FALSE
/* The abort macros mark the current test step as failed, and exit the test */
@@ -74,7 +74,7 @@
__FILE__, __LINE__, msg); \
unitfail++; \
goto unit_test_abort; \
- } while(0)
+ } WHILE_FALSE