aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--challenge-242/massa/raku/ch-1.raku2
-rw-r--r--challenge-242/massa/raku/ch-2.raku2
2 files changed, 2 insertions, 2 deletions
diff --git a/challenge-242/massa/raku/ch-1.raku b/challenge-242/massa/raku/ch-1.raku
index fd3b1ccefd..9eacb018ce 100644
--- a/challenge-242/massa/raku/ch-1.raku
+++ b/challenge-242/massa/raku/ch-1.raku
@@ -58,7 +58,7 @@ multi MAIN (Bool :$test!) {
output => ((3,), ()) },
;
- .<input>.&SOLUTION».cache.&is-deeply: .<output>».cache, .<text> for @tests
+ .<input>.&SOLUTION.deepmap({$_}).&is-deeply: .<output>, .<text> for @tests
} # end of multi MAIN (Bool :$test!)
diff --git a/challenge-242/massa/raku/ch-2.raku b/challenge-242/massa/raku/ch-2.raku
index 997ddd791b..3241fa21c6 100644
--- a/challenge-242/massa/raku/ch-2.raku
+++ b/challenge-242/massa/raku/ch-2.raku
@@ -66,7 +66,7 @@ multi MAIN (Bool :$test!) {
output => ((1, 1, 0, 0), (0, 1, 1, 0), (0, 0, 0, 1), (1, 0, 1, 0)) },
;
- .<input>.&SOLUTION».cache.&is-deeply: .<output>».cache, .<text> for @tests
+ .<input>.&SOLUTION.deepmap({$_}).&is-deeply: .<output>, .<text> for @tests
} # end of multi MAIN (Bool :$test!)