tests: remove superfluous newlines from logs

This commit is contained in:
Andrew Kelley 2022-07-21 22:44:11 -07:00
parent f550c29c4e
commit 46a06074eb

View File

@ -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);