tracks/perl6/exercises/word-count/.meta/exercise-data.yaml in trackler-2.2.1.100 vs tracks/perl6/exercises/word-count/.meta/exercise-data.yaml in trackler-2.2.1.101
- old
+ new
@@ -1,9 +1,9 @@
exercise: WordCount
version: 3
plan: 11
tests: |-
- is-deeply (% = .<input>.&count-words), |.<expected description> for @($c-data<cases>);
+ is-deeply (% = .<input><sentence>.&count-words), |.<expected description> for @($c-data<cases>);
unit: module
example: |-
sub count-words (Str:D $str --> Hash:D) is export {
$str.lc.comb(/ <alnum>+ (\'<alnum>+)? /).Bag.hash