zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 8ce130de3cf38e09cfbcbd1b22da34ae5b27a040 (tree)
parent b3598163df821a3cd11470ebc4fc45e032a0183b
Author: Ryan Liptak <squeek502@hotmail.com>
Date:   Mon, 22 Apr 2019 02:25:57 -0700

Bump up FixedBufferAllocator test memory to account for new tests

Diffstat:
Mstd/heap.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/std/heap.zig b/std/heap.zig @@ -609,7 +609,7 @@ test "ArenaAllocator" { try testAllocatorAlignedShrink(&arena_allocator.allocator); } -var test_fixed_buffer_allocator_memory: [30000 * @sizeOf(usize)]u8 = undefined; +var test_fixed_buffer_allocator_memory: [40000 * @sizeOf(usize)]u8 = undefined; test "FixedBufferAllocator" { var fixed_buffer_allocator = FixedBufferAllocator.init(test_fixed_buffer_allocator_memory[0..]);