From bed01210e0fc2b3d84741c3a4731be73e1cec786 Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Sun, 4 Apr 2021 16:23:27 -0400 Subject: 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. --- exercises/036_enums2.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'exercises/036_enums2.zig') diff --git a/exercises/036_enums2.zig b/exercises/036_enums2.zig index 0ddc4a5..e6337e9 100644 --- a/exercises/036_enums2.zig +++ b/exercises/036_enums2.zig @@ -53,6 +53,7 @@ pub fn main() void { \\ Green \\ Blue \\

+ \\ , .{ @enumToInt(Color.red), @enumToInt(Color.green), -- cgit v1.2.3-ZIG