diff options
| author | Luka Markušić <markusicluka@gmail.com> | 2026-06-02 06:11:27 +0200 |
|---|---|---|
| committer | Luka Markušić <markusicluka@gmail.com> | 2026-06-02 06:12:06 +0200 |
| commit | bd55c4ac5a235778f78b91c37a0bf1516bfbcc55 (patch) | |
| tree | b5dae98c4dacbcc5046bddebd5488938894a9210 /src/elrond.zig | |
| parent | e61bedaa25e4bc80847c4fb1508b5f4cdf35cd20 (diff) | |
fixup! Add another defer exercise
Diffstat (limited to 'src/elrond.zig')
| -rw-r--r-- | src/elrond.zig | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/elrond.zig b/src/elrond.zig index 311026f..716f546 100644 --- a/src/elrond.zig +++ b/src/elrond.zig @@ -693,7 +693,10 @@ const exercises = [_]Exercise{ }, .{ .main_file = "028_defer2.zig", - .output = "(Goat) (Cat) (Dog) (Dog) (Goat) (Unknown) done.", + .output = + \\(Goat) (Cat) (Dog) (Dog) (Goat) (Unknown) done. + \\Answer to everything? 42 + , // pay attention to the comma }, .{ .main_file = "029_errdefer.zig", @@ -1224,10 +1227,6 @@ const exercises = [_]Exercise{ .output = "", }, .{ - .main_file = "116_defer3.zig", - .output = "42", - }, - .{ .main_file = "999_the_end.zig", .output = \\ |
