From: travis%sedsystems.ca <> Date: Tue, 8 Feb 2005 05:46:57 +0000 (+0000) Subject: Bug 280807 : 004template.t miscalculates its number of checks X-Git-Tag: bugzilla-2.18.1~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a745729a3ffd9491a0ae79bcca5d918b0ddbce9a;p=thirdparty%2Fbugzilla.git Bug 280807 : 004template.t miscalculates its number of checks Patch by Marc Schumann r=vladd a=justdave --- diff --git a/t/004template.t b/t/004template.t index 86b505c285..624adf5a5f 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.