summaryrefslogtreecommitdiff
path: root/test/include/test/btalloc.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/include/test/btalloc.h')
-rw-r--r--test/include/test/btalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/include/test/btalloc.h b/test/include/test/btalloc.h
index 5877ea77e..8f3459936 100644
--- a/test/include/test/btalloc.h
+++ b/test/include/test/btalloc.h
@@ -25,6 +25,6 @@ btalloc_##n(size_t size, unsigned bits) { \
} \
} \
/* Intentionally sabotage tail call optimization. */ \
- assert_ptr_not_null(p, "Unexpected mallocx() failure"); \
+ expect_ptr_not_null(p, "Unexpected mallocx() failure"); \
return p; \
}