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.159 tracks/perl6/templates/test.mustache
trackler-2.2.1.158 tracks/perl6/templates/test.mustache
trackler-2.2.1.157 tracks/perl6/templates/test.mustache
trackler-2.2.1.156 tracks/perl6/templates/test.mustache
trackler-2.2.1.155 tracks/perl6/templates/test.mustache
trackler-2.2.1.154 tracks/perl6/templates/test.mustache
trackler-2.2.1.153 tracks/perl6/templates/test.mustache
trackler-2.2.1.152 tracks/perl6/templates/test.mustache
trackler-2.2.1.151 tracks/perl6/templates/test.mustache
trackler-2.2.1.150 tracks/perl6/templates/test.mustache
trackler-2.2.1.149 tracks/perl6/templates/test.mustache
trackler-2.2.1.148 tracks/perl6/templates/test.mustache
trackler-2.2.1.147 tracks/perl6/templates/test.mustache
trackler-2.2.1.146 tracks/perl6/templates/test.mustache
trackler-2.2.1.145 tracks/perl6/templates/test.mustache
trackler-2.2.1.144 tracks/perl6/templates/test.mustache
trackler-2.2.1.143 tracks/perl6/templates/test.mustache
trackler-2.2.1.142 tracks/perl6/templates/test.mustache
trackler-2.2.1.141 tracks/perl6/templates/test.mustache
trackler-2.2.1.140 tracks/perl6/templates/test.mustache