mirror of
https://github.com/ziglang/zig.git
synced 2026-01-14 11:25:14 +00:00
Fix indexing in the test runner's log formatting
This commit is contained in:
parent
7cbd586ace
commit
a08b0fa706
@ -124,7 +124,10 @@ pub fn log(
|
||||
log_err_count += 1;
|
||||
}
|
||||
if (@enumToInt(message_level) <= @enumToInt(std.testing.log_level)) {
|
||||
std.debug.print("[{s}] ({s}): " ++ format ++ "\n", .{ @tagName(scope), @tagName(message_level) } ++ args);
|
||||
std.debug.print(
|
||||
"[" ++ @tagName(scope) ++ "] (" ++ @tagName(message_level) ++ "): " ++ format ++ "\n",
|
||||
args,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user