mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-07-28 18:25:16 +00:00
Emit correct output as green text indicating passed.
This commit is contained in:
@@ -463,7 +463,7 @@ const ZiglingStep = struct {
|
||||
return error.InvalidOutput;
|
||||
}
|
||||
|
||||
print("{s}** PASSED **{s}\n", .{ green_text, reset_text });
|
||||
print("{s}{s}{s}\n", .{ green_text, output, reset_text });
|
||||
}
|
||||
|
||||
// The normal compile step calls os.exit, so we can't use it as a library :(
|
||||
|
||||
Reference in New Issue
Block a user