Browse Source

inserted a failure and created a patch

Chris Boesch 2 years ago
parent
commit
beaa89fdf5
2 changed files with 5 additions and 4 deletions
  1. 1 1
      exercises/092_interfaces.zig
  2. 4 3
      patches/patches/092_interfaces.patch

+ 1 - 1
exercises/092_interfaces.zig

@@ -51,7 +51,7 @@ pub fn main() !void {
     } };
 
     // The daily situation report, what's going on in the garden
-    try dailyReport(&my_insects);
+    try dailyReport("what is here the right parameter?");
 }
 
 // Through the interface we can keep a list of various objects

+ 4 - 3
patches/patches/092_interfaces.patch

@@ -1,3 +1,4 @@
-68a69,70
-> //
-> // just an empty patch
+54c54
+<     try dailyReport("what is here the right parameter?");
+---
+>     try dailyReport(&my_insects);