fixup! Add another defer exercise

This commit is contained in:
Luka Markušić
2026-06-02 06:11:27 +02:00
parent e61bedaa25
commit bd55c4ac5a
5 changed files with 42 additions and 40 deletions

View File

@@ -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 =