| ... | @@ -23,7 +23,7 @@ pub fn main() anyerror!void { | ... | @@ -23,7 +23,7 @@ pub fn main() anyerror!void { |
| 23 | | 23 | |
| 24 | var leaks: usize = 0; | 24 | var leaks: usize = 0; |
| 25 | for (test_fn_list) |test_fn, i| { | 25 | for (test_fn_list) |test_fn, i| { |
| 26 | std.testing.allocator_instance = std.heap.GeneralPurposeAllocator(.{}){}; | 26 | std.testing.allocator_instance = .{}; |
| 27 | defer { | 27 | defer { |
| 28 | if (std.testing.allocator_instance.deinit()) { | 28 | if (std.testing.allocator_instance.deinit()) { |
| 29 | leaks += 1; | 29 | leaks += 1; |