tracks/perl6/exercises/hamming/hamming.t in trackler-2.2.1.65 vs tracks/perl6/exercises/hamming/hamming.t in trackler-2.2.1.66

- old
+ new

@@ -3,11 +3,11 @@ use Test; use lib my $dir = $?FILE.IO.dirname; use JSON::Fast; my Str:D $exercise := 'Hamming'; -my Version:D $version = v1; +my Version:D $version = v2; my Str $module //= $exercise; plan 17; use-ok $module or bail-out; require ::($module); @@ -22,10 +22,10 @@ require ::($module) <&hamming-distance>; my $c-data = from-json $=pod.pop.contents; for $c-data<cases>.values { if .<expected><error> { - throws-like {hamming-distance(|.<strand1 strand2>)}, Exception, .<description>, message => .<expected><error>; + throws-like {hamming-distance(|.<strand1 strand2>)}, Exception, .<description>; } else { is hamming-distance(|.<strand1 strand2>), |.<expected description>; } }