quiet test output
This commit is contained in:
parent
076f77d03d
commit
2f14d94dc4
1 changed files with 2 additions and 1 deletions
|
@ -34,6 +34,7 @@ fn printError(comptime fmt: []const u8, args: anytype) void {
|
||||||
|
|
||||||
fn printInfo(comptime fmt: []const u8, args: anytype) void {
|
fn printInfo(comptime fmt: []const u8, args: anytype) void {
|
||||||
const stderr = std.io.getStdErr().writer();
|
const stderr = std.io.getStdErr().writer();
|
||||||
|
if (!builtin.is_test)
|
||||||
stderr.print(fmt, args) catch {};
|
stderr.print(fmt, args) catch {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue