From 2f14d94dc408cab5758a3913c2cfec82df4898e6 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Tue, 15 Jul 2025 11:44:30 -0700 Subject: [PATCH] quiet test output --- src/main.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.zig b/src/main.zig index 08c0673..50f8731 100644 --- a/src/main.zig +++ b/src/main.zig @@ -34,7 +34,8 @@ fn printError(comptime fmt: []const u8, args: anytype) void { fn printInfo(comptime fmt: []const u8, args: anytype) void { const stderr = std.io.getStdErr().writer(); - stderr.print(fmt, args) catch {}; + if (!builtin.is_test) + stderr.print(fmt, args) catch {}; } // Configuration: Only include releases from the last year in the output