aboutsummaryrefslogtreecommitdiff
path: root/t/template_syntax.t
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2014-02-21 18:38:10 +0000
committerSimon McVittie <smcv@debian.org>2014-02-21 18:38:10 +0000
commit9de5ca411fb637964190ff50cce062d8668eb1a8 (patch)
tree3327fad8a54008f0a212f55e629755ecb73e0dd9 /t/template_syntax.t
parent90632121f935a255105eabcaefda9ee3a5a34985 (diff)
downloadikiwiki-9de5ca411fb637964190ff50cce062d8668eb1a8.tar
ikiwiki-9de5ca411fb637964190ff50cce062d8668eb1a8.tar.gz
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.
Diffstat (limited to 't/template_syntax.t')
-rwxr-xr-xt/template_syntax.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/template_syntax.t b/t/template_syntax.t
index 1e156eed8..e3d1feca9 100755
--- a/t/template_syntax.t
+++ b/t/template_syntax.t
@@ -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;