authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-02-01 18:05:14-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-02-01 18:05:14-07:00
log5a3ae38f3b79a69cb6f4ad28934a51165cae2ef1
treeb41eb5738bcedaacbfcdac17d9c1fcc345df34e2
parent8944935499ee6cdbce6e0384efb32e75753adcbd

std: remove garbage being printed to stderr during unit tests


1 files changed, 1 insertions(+), 4 deletions(-)

lib/std/fs/test.zig+1-4
...@@ -113,10 +113,7 @@ fn testWithAllSupportedPathTypes(test_func: anytype) !void {...@@ -113,10 +113,7 @@ fn testWithAllSupportedPathTypes(test_func: anytype) !void {
113 var ctx = TestContext.init(path_type, testing.allocator, path_type.getTransformFn());113 var ctx = TestContext.init(path_type, testing.allocator, path_type.getTransformFn());
114 defer ctx.deinit();114 defer ctx.deinit();
115115
116 test_func(&ctx) catch |err| {116 try test_func(&ctx);
117 std.debug.print("{s}, path type: {s}\n", .{ @errorName(err), enum_field.name });
118 return err;
119 };
120 }117 }
121}118}
122119