Skip to content

Commit 59af275

Browse files
vrischmannVexu
authored andcommitted
test runner: use the correct number in leak report
1 parent 3115d2f commit 59af275

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/special/test_runner.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ pub fn main() anyerror!void {
8686
std.debug.print("{} errors were logged.\n", .{log_err_count});
8787
}
8888
if (leaks != 0) {
89-
std.debug.print("{} tests leaked memory.\n", .{ok_count});
89+
std.debug.print("{} tests leaked memory.\n", .{leaks});
9090
}
9191
if (leaks != 0 or log_err_count != 0) {
9292
std.process.exit(1);

0 commit comments

Comments
 (0)