mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
Convert a bunch of page_allocator to testing.allocator
This commit is contained in:
@@ -83,6 +83,7 @@ pub const BufMap = struct {
|
||||
};
|
||||
|
||||
test "BufMap" {
|
||||
// TODO: uncomment and fix the leak
|
||||
var bufmap = BufMap.init(std.heap.page_allocator);
|
||||
defer bufmap.deinit();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user