aboutsummaryrefslogtreecommitdiff
path: root/mem/test
diff options
context:
space:
mode:
Diffstat (limited to 'mem/test')
-rw-r--r--mem/test/mem_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mem/test/mem_test.c b/mem/test/mem_test.c
index 6ab4c7c..2f242c3 100644
--- a/mem/test/mem_test.c
+++ b/mem/test/mem_test.c
@@ -4,7 +4,7 @@
4 4
5#define NUM_BLOCKS 10 5#define NUM_BLOCKS 10
6 6
7DEF_MEM(test_mem, int, NUM_BLOCKS); 7DEF_MEM(test_mem, int, NUM_BLOCKS)
8 8
9static int count(test_mem* mem) { 9static int count(test_mem* mem) {
10 int count = 0; 10 int count = 0;
@@ -27,7 +27,7 @@ TEST_CASE(mem_create) {
27// Create a dynamically-backed allocator. 27// Create a dynamically-backed allocator.
28TEST_CASE(mem_create_dyn) { 28TEST_CASE(mem_create_dyn) {
29 DEF_MEM_DYN(dyn_mem, int); 29 DEF_MEM_DYN(dyn_mem, int);
30 30
31 dyn_mem mem; 31 dyn_mem mem;
32 mem_make_dyn(&mem, NUM_BLOCKS, sizeof(int)); 32 mem_make_dyn(&mem, NUM_BLOCKS, sizeof(int));
33} 33}