aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/patches/patches/048_methods2.patch
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2023-10-05 20:18:04 +0200
committerChris Boesch <chrboesch@noreply.codeberg.org>2023-10-05 20:18:04 +0200
commit7491e3df91223e79f46bd432033daccb6aa67f6d (patch)
tree726b71cfaa41cffe6ebbc5cc44b38dfd90b5e940 /patches/patches/048_methods2.patch
parent992323ac6c6685f7258672be1ce6f586271243d3 (diff)
changed the patch files that we can also use them with busybox for testing in Woodpecker
Diffstat (limited to 'patches/patches/048_methods2.patch')
-rw-r--r--patches/patches/048_methods2.patch15
1 files changed, 11 insertions, 4 deletions
diff --git a/patches/patches/048_methods2.patch b/patches/patches/048_methods2.patch
index cd1b5d0..b784657 100644
--- a/patches/patches/048_methods2.patch
+++ b/patches/patches/048_methods2.patch
@@ -1,4 +1,11 @@
-57c57
-< e = if (e.hasTail()) e.??? else break;
----
-> e = if (e.hasTail()) e.getTail() else break;
+--- exercises/048_methods2.zig 2023-10-03 22:15:22.122241138 +0200
++++ answers/048_methods2.zig 2023-10-05 20:04:07.059433611 +0200
+@@ -54,7 +54,7 @@
+
+ // This gets the next elephant or stops:
+ // which method do we want here?
+- e = if (e.hasTail()) e.??? else break;
++ e = if (e.hasTail()) e.getTail() else break;
+ }
+ }
+