diff options
author | 2023-01-16 21:35:19 -0800 | |
---|---|---|
committer | 2023-01-16 21:35:19 -0800 | |
commit | b8b7ad49827ab687a98f88916b4e85eb3720f159 (patch) | |
tree | e9d616ef61c66260dd9133d813a8a271f0b0eb33 | |
parent | d21119b347168c5f401e64bb7f40b9b6399bc703 (diff) | |
download | bun-b8b7ad49827ab687a98f88916b4e85eb3720f159.tar.gz bun-b8b7ad49827ab687a98f88916b4e85eb3720f159.tar.zst bun-b8b7ad49827ab687a98f88916b4e85eb3720f159.zip |
[bun:test] Fix dim, fix missing space
-rw-r--r-- | src/cli/test_command.zig | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cli/test_command.zig b/src/cli/test_command.zig index 05b5d4058..b1f9b838b 100644 --- a/src/cli/test_command.zig +++ b/src/cli/test_command.zig @@ -135,7 +135,7 @@ pub const CommandLineReporter = struct { } } - const line_color_code = if (comptime skip) "<r><yellow>" else "<r><b>"; + const line_color_code = if (comptime skip) "<r><yellow><d>" else "<r><b>"; if (Output.enable_ansi_colors_stderr) writer.print(comptime Output.prettyFmt(line_color_code ++ " {s}<r>", true), .{display_label}) catch unreachable @@ -477,9 +477,7 @@ pub const TestCommand = struct { if (reporter.summary.expectations > 0) Output.prettyError(" {d:5>} expect() calls\n", .{reporter.summary.expectations}); - Output.prettyError( - \\ Ran {d} tests across {d} files - , .{ + Output.prettyError("Ran {d} tests across {d} files ", .{ reporter.summary.fail + reporter.summary.pass, test_files.len, }); |