summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.