quiet test output

This commit is contained in:
Emil Lerch 2025-07-15 11:44:30 -07:00
parent 076f77d03d
commit 2f14d94dc4
Signed by: lobo
GPG key ID: A7B62D657EF764F8

View file

@ -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 {};
} }