Fix indexing in the test runner's log formatting
This commit is contained in:
committed by
Veikka Tuominen
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,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user