Sha256: ef10e2ea5fcb0cd2fbef828d3330e2fb79c2d7cf37b548b1fe55f59bfb6236c7

Contents?: true

Size: 1.15 KB

Versions: 78

Compression:

Stored size: 1.15 KB

Contents

#!/usr/bin/env perl6
use v6;{{=#`{{ }}=}}#`{{! Mustache tags double up as Perl 6 embedded comments}}
use Test;#`{{#cdata}}
use JSON::Fast;#`{{/cdata}}#`{{#modules}}
use #`{{&use}};#`{{/modules}}
use lib $?FILE.IO.dirname;#`{{#lib_comment}} #`[#`{{&lib_comment}}]#`{{/lib_comment}}
use #`{{&exercise}};#`{{#plan}}
plan #`{{&plan}};#`{{#plan_comment}} #`[#`{{&plan_comment}}]#`{{/plan_comment}}#`{{/plan}}

my Version:D $version#`{{#version}} = v#`{{&version}}#`{{/version}};#`{{#version_comment}} #`[#`{{&version_comment}}]#`{{/version_comment}}
#`{{#version_test_comment}}

#`[#`{{&version_test_comment}}]#`{{/version_test_comment}}
if #`{{&exercise}}.^ver !~~ $version {
  warn "\nExercise version mismatch. Further tests may fail!"
    ~ "\n#`{{&exercise}} is {#`{{exercise}}.^ver.gist}. "
    ~ "Test is {$version.gist}.\n";
}
#`{{#methods}}#`{{#methods_comment}}
#`[#`{{&methods_comment}}]#`{{/methods_comment}}
subtest 'Class methods', {
  ok #`{{&exercise}}.can($_), $_ for <#`{{&methods}}>;
}
#`{{/methods}}#`{{#cdata}}
my $c-data = from-json $=pod.pop.contents;#`{{/cdata}}
#`{{&tests}}#`{{#cdata}}

=head2 Canonical Data
=begin code
#`{{&json}}
=end code#`{{/cdata}}

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/perl6/templates/test.mustache
trackler-2.2.1.179 tracks/perl6/templates/test.mustache
trackler-2.2.1.178 tracks/perl6/templates/test.mustache
trackler-2.2.1.177 tracks/perl6/templates/test.mustache
trackler-2.2.1.176 tracks/perl6/templates/test.mustache
trackler-2.2.1.175 tracks/perl6/templates/test.mustache
trackler-2.2.1.174 tracks/perl6/templates/test.mustache
trackler-2.2.1.173 tracks/perl6/templates/test.mustache
trackler-2.2.1.172 tracks/perl6/templates/test.mustache
trackler-2.2.1.171 tracks/perl6/templates/test.mustache
trackler-2.2.1.170 tracks/perl6/templates/test.mustache
trackler-2.2.1.169 tracks/perl6/templates/test.mustache
trackler-2.2.1.167 tracks/perl6/templates/test.mustache
trackler-2.2.1.166 tracks/perl6/templates/test.mustache
trackler-2.2.1.165 tracks/perl6/templates/test.mustache
trackler-2.2.1.164 tracks/perl6/templates/test.mustache
trackler-2.2.1.163 tracks/perl6/templates/test.mustache
trackler-2.2.1.162 tracks/perl6/templates/test.mustache
trackler-2.2.1.161 tracks/perl6/templates/test.mustache
trackler-2.2.1.160 tracks/perl6/templates/test.mustache