tracks/perl6/exercises/accumulate/example.yaml in trackler-2.2.1.53 vs tracks/perl6/exercises/accumulate/example.yaml in trackler-2.2.1.54

- old
+ new

@@ -1,10 +1,10 @@ exercise: Accumulate version: 1 plan: 7 imports: '&accumulate' -tests: | +tests: |- is-deeply accumulate([ ], sub {}), [ ], 'test empty'; is-deeply accumulate([1, 2, 3, 4, 5], sub { @_[0] * @_[0] }), [1, 4, 9, 16, 25], @@ -21,10 +21,10 @@ is-deeply accumulate(['the', 'quick', 'brown', 'fox'], sub { @_[0].flip }), ['eht', 'kciuq', 'nworb', 'xof'], 'reverse strings'; unit: module -example: | +example: |- sub accumulate (@list, $function) is export { my @accumulated; for @list -> $element { @accumulated.push: $function($element); }