summaryrefslogtreecommitdiff
path: root/tests/unit/unit1600.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/unit1600.c')
-rw-r--r--tests/unit/unit1600.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/unit1600.c b/tests/unit/unit1600.c
index f0f9cc1f4..af0ad8435 100644
--- a/tests/unit/unit1600.c
+++ b/tests/unit/unit1600.c
@@ -29,7 +29,7 @@ CURL *easy;
static CURLcode unit_setup(void)
{
easy = curl_easy_init();
- return CURLE_OK;
+ return easy ? CURLE_OK : CURLE_OUT_OF_MEMORY;
}
static void unit_stop(void)