summaryrefslogtreecommitdiffstats
path: root/test/unit/base.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/base.c')
-rw-r--r--test/unit/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/base.c b/test/unit/base.c
index 87116a3..f498394 100644
--- a/test/unit/base.c
+++ b/test/unit/base.c
@@ -154,10 +154,10 @@ TEST_BEGIN(test_base_hooks_not_null) {
* that the first block's remaining space is considered for subsequent
* allocation.
*/
- assert_zu_ge(extent_size_get(&base->blocks->extent), QUANTUM,
+ assert_zu_ge(extent_bsize_get(&base->blocks->extent), QUANTUM,
"Remainder insufficient for test");
/* Use up all but one quantum of block. */
- while (extent_size_get(&base->blocks->extent) > QUANTUM) {
+ while (extent_bsize_get(&base->blocks->extent) > QUANTUM) {
p = base_alloc(tsdn, base, QUANTUM, QUANTUM);
assert_ptr_not_null(p, "Unexpected base_alloc() failure");
}