mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 15:59:59 +00:00
fixup! Add another defer exercise
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user