commit 46a06074eb2939d34e0850f4f56fc6e620771396 (tree)
parent f550c29c4e76ccfbdbc8ec2159cf90474530a24c
Author: Andrew Kelley <andrew@ziglang.org>
Date: Thu, 21 Jul 2022 22:44:11 -0700
tests: remove superfluous newlines from logs
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/tests.zig b/test/tests.zig
@@ -1021,7 +1021,7 @@ pub const StandaloneContext = struct {
defer zig_args.resize(zig_args_base_len) catch unreachable;
const run_cmd = b.addSystemCommand(zig_args.items);
- const log_step = b.addLog("PASS {s} ({s})\n", .{ annotated_case_name, @tagName(mode) });
+ const log_step = b.addLog("PASS {s} ({s})", .{ annotated_case_name, @tagName(mode) });
log_step.step.dependOn(&run_cmd.step);
self.step.dependOn(&log_step.step);
@@ -1046,7 +1046,7 @@ pub const StandaloneContext = struct {
exe.linkSystemLibrary("c");
}
- const log_step = b.addLog("PASS {s}\n", .{annotated_case_name});
+ const log_step = b.addLog("PASS {s}", .{annotated_case_name});
log_step.step.dependOn(&exe.step);
self.step.dependOn(&log_step.step);