From: Simon McVittie Date: Fri, 21 Feb 2014 18:38:10 +0000 (+0000) Subject: template_syntax.t: include doc/templates/*.mdwn in test X-Git-Tag: debian/3.20140227~12^2 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/9de5ca411fb637964190ff50cce062d8668eb1a8?hp=90632121f935a255105eabcaefda9ee3a5a34985 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. --- 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;