Promoted "leak_count_allocator" to the main testing.allocator

This commit is contained in:
Benjamin Feng
2020-01-29 21:22:01 -06:00
parent 70ad84c820
commit b077f3ab7d
23 changed files with 96 additions and 95 deletions

View File

@@ -445,7 +445,7 @@ pub fn addCases(cases: *tests.CompareOutputContext) void {
\\const std = @import("std");
\\const io = std.io;
\\const os = std.os;
\\const allocator = std.testing.leak_count_allocator;
\\const allocator = std.testing.allocator;
\\
\\pub fn main() !void {
\\ var args_it = std.process.args();
@@ -486,7 +486,7 @@ pub fn addCases(cases: *tests.CompareOutputContext) void {
\\const std = @import("std");
\\const io = std.io;
\\const os = std.os;
\\const allocator = std.testing.leak_count_allocator;
\\const allocator = std.testing.allocator;
\\
\\pub fn main() !void {
\\ var args_it = std.process.args();