Normalized exercise output, answers (#41)
1. All exercises should print a trailing \n 2. The build script should always show you _exactly_ what it's looking for when you get it wrong. Therefore, .output should be set to the exact expected output.
This commit is contained in:
parent
a7e4c04399
commit
bed01210e0
8 changed files with 17 additions and 16 deletions
|
|
@ -52,7 +52,7 @@ pub fn main() void {
|
|||
// Ouch! Glorp takes a punch!
|
||||
glorp_the_wise.health -= 10;
|
||||
|
||||
std.debug.print("Your wizard has {} health and {} gold.", .{
|
||||
std.debug.print("Your wizard has {} health and {} gold.\n", .{
|
||||
glorp_the_wise.health,
|
||||
glorp_the_wise.gold,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue