summaryrefslogtreecommitdiffstats
path: root/t/mustache-spec.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-10-03 13:12:56 -0500
committerJesse Luehrs <doy@tozt.net>2012-10-03 13:13:22 -0500
commitea9eea98c6772ad528b9902dfd97ffe48f6bed22 (patch)
treecc15dd8ff6554a045520347cf175f2ed01ec40d9 /t/mustache-spec.t
parent6e70884f8039d9091b1aeaf7a3599f00b34c1172 (diff)
downloadtext-handlebars-ea9eea98c6772ad528b9902dfd97ffe48f6bed22.tar.gz
text-handlebars-ea9eea98c6772ad528b9902dfd97ffe48f6bed22.zip
implement custom delimiters
Diffstat (limited to 't/mustache-spec.t')
-rw-r--r--t/mustache-spec.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/mustache-spec.t b/t/mustache-spec.t
index e97848d..9829b04 100644
--- a/t/mustache-spec.t
+++ b/t/mustache-spec.t
@@ -11,10 +11,13 @@ for my $file (dir('t', 'mustache-spec', 'specs')->children) {
next unless $file =~ /\.json$/;
next if $file->basename =~ /^~/; # for now
next if $file->basename =~ /partials/;
- local $TODO = "unimplemented" if $file->basename =~ /delimiters/;
my $tests = decode_json($file->slurp);
diag("running " . $file->basename . " tests");
for my $test (@{ $tests->{tests} }) {
+ local $TODO = "unimplemented"
+ if $file->basename eq 'delimiters.json'
+ && $test->{name} =~ /partial/i;
+
render_ok(
$test->{template},
$test->{data},