This commit is contained in:
gingerBill
2026-06-23 12:25:36 +01:00
parent ebcf85a1fd
commit 28df949279

View File

@@ -39,7 +39,7 @@ expect_arena_allocation :: proc(t: ^testing.T, expected_used_bytes, num_bytes, a
arena.current_pos,
arena.bytes_left,
)
testing.expectf(t, uintptr(element) % uint(alignment) == 0, "Expected allocation to be aligned to %d byte boundary, got %v", alignment, element)
testing.expectf(t, uintptr(element) % uintptr(alignment) == 0, "Expected allocation to be aligned to %d byte boundary, got %v", alignment, element)
mem.dynamic_arena_destroy(&arena)
testing.expect(t, arena.used_blocks == nil)