Skip to content

Commit 21d4fa4

Browse files
test_runnger: Pass the io to the thing
1 parent 9235063 commit 21d4fa4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/compiler/test_runner.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ fn mainTerminal(init: std.process.Init.Minimal) void {
267267
.root_name = "Test",
268268
.estimated_total_items = test_fn_list.len,
269269
});
270-
const doColors = Io.File.stderr().supportsAnsiEscapeCodes();
270+
const doColors = Io.File.stderr().supportsAnsiEscapeCodes(runner_threaded_io) catch false;
271271
const reset = if (doColors) "\x1b[0m" else "";
272272
const red = if (doColors) "\x1b[31m" else "";
273273
const yellow = if (doColors) "\x1b[33m" else "";

0 commit comments

Comments
 (0)