mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std: remove garbage being printed to stderr during unit tests
This commit is contained in:
parent
8944935499
commit
5a3ae38f3b
1 changed files with 1 additions and 4 deletions
|
|
@ -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…
Add table
Reference in a new issue