diff options
Diffstat (limited to 't/mustache-spec.t')
-rw-r--r-- | t/mustache-spec.t | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/t/mustache-spec.t b/t/mustache-spec.t index a97cb10..88f8560 100644 --- a/t/mustache-spec.t +++ b/t/mustache-spec.t @@ -9,15 +9,16 @@ use Test::Requires 'JSON', 'Path::Class'; for my $file (dir('t', 'mustache-spec', 'specs')->children) { next unless $file =~ /\.json$/; - next if $file->basename =~ /partials/; my $tests = decode_json($file->slurp); note("running " . $file->basename . " tests"); for my $test (@{ $tests->{tests} }) { local $TODO = "unimplemented" - if $file->basename eq 'delimiters.json' - && $test->{name} =~ /partial/i; + if $file->basename eq 'partials.json' + && $test->{name} =~ /standalone/i + && $test->{name} !~ /line endings/i; render_ok( + ($test->{partials} ? ({ path => [$test->{partials}] }) : ()), $test->{template}, fix_data($test->{data}), $test->{expected}, |