summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-08 06:47:31 +0100
committertravis%sedsystems.ca <>2005-02-08 06:47:31 +0100
commitadbc63fabd697922571393564fb40dbed0909a26 (patch)
tree36fea7f081c5969b4166681b8c6cff1e0f077a84
parent2e7ff851909cc108b2f885df08f4e92ec539a4ba (diff)
downloadbugzilla-adbc63fabd697922571393564fb40dbed0909a26.tar.gz
bugzilla-adbc63fabd697922571393564fb40dbed0909a26.tar.xz
Bug 280807 : 004template.t miscalculates its number of checks
Patch by Marc Schumann <wurblzap@gmail.com> r=vladd a=justdave
-rw-r--r--t/004template.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/004template.t b/t/004template.t
index f35b53425..1e7846cd7 100644
--- a/t/004template.t
+++ b/t/004template.t
@@ -38,7 +38,8 @@ use CGI qw(-no_debug);
use File::Spec 0.82;
use Template;
-use Test::More tests => ( scalar(@referenced_files) + $num_actual_files * 2 );
+use Test::More tests => ( scalar(@referenced_files) * scalar(@languages)
+ + $num_actual_files * 2 );
# Capture the TESTOUT from Test::More or Test::Builder for printing errors.
# This will handle verbosity for us automatically.