Commit adbc63fa authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 280807 : 004template.t miscalculates its number of checks

Patch by Marc Schumann <wurblzap@gmail.com> r=vladd a=justdave
parent 2e7ff851
...@@ -38,7 +38,8 @@ use CGI qw(-no_debug); ...@@ -38,7 +38,8 @@ use CGI qw(-no_debug);
use File::Spec 0.82; use File::Spec 0.82;
use Template; 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. # Capture the TESTOUT from Test::More or Test::Builder for printing errors.
# This will handle verbosity for us automatically. # This will handle verbosity for us automatically.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment