Convert a bunch of page_allocator to testing.allocator

This commit is contained in:
Benjamin Feng
2020-01-29 22:06:26 -06:00
parent ad93ad3e60
commit b7a236d68e
10 changed files with 23 additions and 19 deletions
+1
View File
@@ -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();