tracks/perl6/exercises/raindrops/raindrops.t in trackler-2.2.1.137 vs tracks/perl6/exercises/raindrops/raindrops.t in trackler-2.2.1.138
- old
+ new
@@ -4,11 +4,11 @@
use JSON::Fast;
use lib $?FILE.IO.dirname;
use Raindrops;
plan 18;
-my Version:D $version = v2;
+my Version:D $version = v3;
if Raindrops.^ver !~~ $version {
warn "\nExercise version mismatch. Further tests may fail!"
~ "\nRaindrops is {Raindrops.^ver.gist}. "
~ "Test is {$version.gist}.\n";
@@ -16,11 +16,11 @@
my $c-data = from-json $=pod.pop.contents;
for @($c-data<cases>) {
subtest {
plan 2;
- is .<input><number>.&convert, |.<expected description>;
- isa-ok .<input><number>.&convert, Str;
+ is .<input><number>.&raindrop, |.<expected description>;
+ isa-ok .<input><number>.&raindrop, Str;
}
}
=head2 Canonical Data
=begin code