Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9063212
)
template_syntax.t: include doc/templates/*.mdwn in test
author
Simon McVittie
<smcv@debian.org>
Fri, 21 Feb 2014 18:38:10 +0000
(18:38 +0000)
committer
Simon McVittie
<smcv@debian.org>
Fri, 21 Feb 2014 18:38:10 +0000
(18:38 +0000)
Previously, this test assigned the first glob to @templates, and
evaluated the second for its (practically nonexistent) side-effects.
t/template_syntax.t
patch
|
blob
|
history
diff --git
a/t/template_syntax.t
b/t/template_syntax.t
index 1e156eed897890f1e856eb25606ba8057f169975..e3d1feca9ef3d3791ba7e93cf6bad2faf9abecc7 100755
(executable)
--- 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;