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.139 tracks/perl6/templates/test.mustache
trackler-2.2.1.138 tracks/perl6/templates/test.mustache
trackler-2.2.1.137 tracks/perl6/templates/test.mustache
trackler-2.2.1.136 tracks/perl6/templates/test.mustache
trackler-2.2.1.135 tracks/perl6/templates/test.mustache
trackler-2.2.1.134 tracks/perl6/templates/test.mustache
trackler-2.2.1.133 tracks/perl6/templates/test.mustache
trackler-2.2.1.132 tracks/perl6/templates/test.mustache
trackler-2.2.1.131 tracks/perl6/templates/test.mustache
trackler-2.2.1.130 tracks/perl6/templates/test.mustache
trackler-2.2.1.129 tracks/perl6/templates/test.mustache
trackler-2.2.1.128 tracks/perl6/templates/test.mustache
trackler-2.2.1.127 tracks/perl6/templates/test.mustache
trackler-2.2.1.126 tracks/perl6/templates/test.mustache
trackler-2.2.1.125 tracks/perl6/templates/test.mustache
trackler-2.2.1.124 tracks/perl6/templates/test.mustache
trackler-2.2.1.123 tracks/perl6/templates/test.mustache
trackler-2.2.1.122 tracks/perl6/templates/test.mustache
trackler-2.2.1.121 tracks/perl6/templates/test.mustache
trackler-2.2.1.120 tracks/perl6/templates/test.mustache