std: remove garbage being printed to stderr during unit tests

This commit is contained in:
Andrew Kelley 2024-02-01 18:05:14 -07:00
parent 8944935499
commit 5a3ae38f3b

View File

@ -113,10 +113,7 @@ fn testWithAllSupportedPathTypes(test_func: anytype) !void {
var ctx = TestContext.init(path_type, testing.allocator, path_type.getTransformFn());
defer ctx.deinit();
test_func(&ctx) catch |err| {
std.debug.print("{s}, path type: {s}\n", .{ @errorName(err), enum_field.name });
return err;
};
try test_func(&ctx);
}
}