summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerv%gerv.net <>2009-03-01 05:03:14 +0100
committergerv%gerv.net <>2009-03-01 05:03:14 +0100
commit807407dee1ada838031bc975f0cd562e19bc5ec9 (patch)
tree1197f2fa1c3860aa3ee6f96937ad5382672523ad
parentbb67b1eb2a6aa9ec2ea76acc4cc037b265fada58 (diff)
downloadbugzilla-807407dee1ada838031bc975f0cd562e19bc5ec9.tar.gz
bugzilla-807407dee1ada838031bc975f0cd562e19bc5ec9.tar.xz
Bug 126955 - Bugzilla should support translated/localized templates. Patch by burnus; r=gerv, a=justdave.
-rw-r--r--t/005whitespace.t9
1 files changed, 5 insertions, 4 deletions
diff --git a/t/005whitespace.t b/t/005whitespace.t
index f1d5f9be5..51433fe13 100644
--- a/t/005whitespace.t
+++ b/t/005whitespace.t
@@ -34,12 +34,13 @@ use Support::Templates;
use File::Spec 0.82;
use Test::More tests => ( scalar(@Support::Files::testitems)
- + scalar(@Support::Templates::actual_files));
+ + $Support::Templates::num_actual_files);
my @testitems = @Support::Files::testitems;
-my @templates = map(File::Spec->catfile($Support::Templates::include_path, $_),
- @Support::Templates::actual_files);
-push(@testitems, @templates);
+for my $path (@Support::Templates::include_paths) {
+ push(@testitems, map(File::Spec->catfile($path, $_),
+ Support::Templates::find_actual_files($path)));
+}
foreach my $file (@testitems) {
open (FILE, "$file");