mirror of
https://github.com/ziglang/zig.git
synced 2025-12-07 14:53:08 +00:00
std: remove garbage being printed to stderr during unit tests
This commit is contained in:
parent
8944935499
commit
5a3ae38f3b
@ -113,10 +113,7 @@ fn testWithAllSupportedPathTypes(test_func: anytype) !void {
|
|||||||
var ctx = TestContext.init(path_type, testing.allocator, path_type.getTransformFn());
|
var ctx = TestContext.init(path_type, testing.allocator, path_type.getTransformFn());
|
||||||
defer ctx.deinit();
|
defer ctx.deinit();
|
||||||
|
|
||||||
test_func(&ctx) catch |err| {
|
try test_func(&ctx);
|
||||||
std.debug.print("{s}, path type: {s}\n", .{ @errorName(err), enum_field.name });
|
|
||||||
return err;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user