template_syntax.t: include doc/templates/*.mdwn in test

Previously, this test assigned the first glob to @templates, and
evaluated the second for its (practically nonexistent) side-effects.
master
Simon McVittie 2014-02-21 18:38:10 +00:00
parent 90632121f9
commit 9de5ca411f
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ use warnings;
use strict;
use Test::More;
my @templates=glob("templates/*.tmpl"), glob("doc/templates/*.mdwn");
my @templates=(glob("templates/*.tmpl"), glob("doc/templates/*.mdwn"));
plan(tests => 2*@templates);
use HTML::Template;