fix constant issue, and make running of test program dependent on successful build

This commit is contained in:
2025-10-09 21:17:29 +02:00
parent 4942d959d5
commit 6e3211ab49
4 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
Test(std_allocator, test) {
allocator_t this = allocator_stdlib;
allocator_t this = allocator_stdlib();
void *ptr = allocator_alloc(this, 10);
cr_assert(ptr != ((void *)0), "non null from malloc");
void *new_ptr = allocator_resize(this, ptr, 1024*1024*500);