From bd55c4ac5a235778f78b91c37a0bf1516bfbcc55 Mon Sep 17 00:00:00 2001 From: Luka Markušić Date: Tue, 2 Jun 2026 06:11:27 +0200 Subject: fixup! Add another defer exercise --- src/elrond.zig | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/elrond.zig') 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", @@ -1223,10 +1226,6 @@ const exercises = [_]Exercise{ .main_file = "115_packed2.zig", .output = "", }, - .{ - .main_file = "116_defer3.zig", - .output = "42", - }, .{ .main_file = "999_the_end.zig", .output = -- cgit v1.2.3