summaryrefslogtreecommitdiff
path: root/src/unit
diff options
context:
space:
mode:
Diffstat (limited to 'src/unit')
-rw-r--r--src/unit/test_arena_allocator.c2
-rw-r--r--src/unit/test_std_allocator.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/unit/test_arena_allocator.c b/src/unit/test_arena_allocator.c
index 5a6e3d8..eb0ad33 100644
--- a/src/unit/test_arena_allocator.c
+++ b/src/unit/test_arena_allocator.c
@@ -8,7 +8,7 @@
SUITE(arena_allocator) {
#define RUN_WITH_ARENA(test) \
do { \
- SandAllocator parent = sand_new_std_allocator(); \
+ SandAllocator parent = sand_get_std_allocator(); \
SandArena arena = sand_create_arena(&parent); \
SandAllocator a = sand_get_allocator_for_arena(&arena); \
RUN_TEST1(test, &a); \
diff --git a/src/unit/test_std_allocator.c b/src/unit/test_std_allocator.c
index e115952..20464db 100644
--- a/src/unit/test_std_allocator.c
+++ b/src/unit/test_std_allocator.c
@@ -7,7 +7,7 @@
SUITE(std_allocator) {
#define RUN_WITH_STD_ALLOCATOR(test) \
do { \
- SandAllocator a = sand_new_std_allocator(); \
+ SandAllocator a = sand_get_std_allocator(); \
RUN_TEST1(test, &a); \
} while(0);