tracks/perl5/exercises/luhn/.meta/exercise-data.yaml in trackler-2.2.1.131 vs tracks/perl5/exercises/luhn/.meta/exercise-data.yaml in trackler-2.2.1.132

- old
+ new

@@ -1,10 +1,10 @@ exercise: Luhn -version: 2 -plan: 15 +version: 3 +plan: 14 subs: is_luhn_valid tests: |- - is $subs{is_luhn_valid}->($_->{input}{value}), $_->{expected}, $_->{description} foreach @{$C_DATA->{cases}}; + is is_luhn_valid($_->{input}{value}), $_->{expected}, $_->{description} foreach @{$C_DATA->{cases}}; example: |- sub is_luhn_valid { my ($input) = @_; $input =~ s/\s+//g;