diff options
Diffstat (limited to 'patches')
| -rwxr-xr-x | patches/eowyn.sh | 7 | ||||
| -rw-r--r-- | patches/patches/095_for3.patch (renamed from patches/patches/095_for_loops.patch) | 2 | ||||
| -rw-r--r-- | patches/patches/100_for4.patch | 4 | ||||
| -rw-r--r-- | patches/patches/101_for5.patch | 4 |
4 files changed, 10 insertions, 7 deletions
diff --git a/patches/eowyn.sh b/patches/eowyn.sh index bc2fb7c..95b2a1c 100755 --- a/patches/eowyn.sh +++ b/patches/eowyn.sh @@ -45,13 +45,8 @@ do fi done -# Test the correct formatting of the healed exercises. echo "Looking for non-conforming code formatting..." -for healed in patches/healed/*.zig -do - echo Check $(basename "$healed") - zig fmt --check "$healed" -done +zig fmt --check patches/healed # Test the healed exercises. May the compiler have mercy upon us. zig build -Dhealed diff --git a/patches/patches/095_for_loops.patch b/patches/patches/095_for3.patch index 5eaecef..c258b7b 100644 --- a/patches/patches/095_for_loops.patch +++ b/patches/patches/095_for3.patch @@ -1,4 +1,4 @@ -49c49 +57c57 < for (???) |n| { --- > for (1..21) |n| { diff --git a/patches/patches/100_for4.patch b/patches/patches/100_for4.patch new file mode 100644 index 0000000..6465325 --- /dev/null +++ b/patches/patches/100_for4.patch @@ -0,0 +1,4 @@ +42c42 +< for (hex_nums, ???) |hn, ???| { +--- +> for (hex_nums, dec_nums) |hn, dn| { diff --git a/patches/patches/101_for5.patch b/patches/patches/101_for5.patch new file mode 100644 index 0000000..0466cc8 --- /dev/null +++ b/patches/patches/101_for5.patch @@ -0,0 +1,4 @@ +54c54 +< for (classes, gold, experience, ???) |c, g, e, i| { +--- +> for (classes, gold, experience, 1..) |c, g, e, i| { |
