summaryrefslogtreecommitdiffstats
path: root/t/005no_tabs.t
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-01-24 08:34:00 +0100
committergerv%gerv.net <>2003-01-24 08:34:00 +0100
commitb996f2f722e069d479b6f948c4a7e271beab166a (patch)
tree16e45ac189b7cc7b1982aa6e30ac986ae40a278a /t/005no_tabs.t
parent551081042333edc563ebccc1a10e0b5805b51858 (diff)
downloadbugzilla-b996f2f722e069d479b6f948c4a7e271beab166a.tar.gz
bugzilla-b996f2f722e069d479b6f948c4a7e271beab166a.tar.xz
Bug 126955 - Bugzilla should support translated/localized templates. Patch by burnus; r=gerv, a=justdave.
Diffstat (limited to 't/005no_tabs.t')
-rw-r--r--t/005no_tabs.t9
1 files changed, 5 insertions, 4 deletions
diff --git a/t/005no_tabs.t b/t/005no_tabs.t
index f1d5f9be5..51433fe13 100644
--- a/t/005no_tabs.t
+++ b/t/005no_tabs.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");