summaryrefslogtreecommitdiffstats
path: root/t/004template.t
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2008-03-06 00:19:48 +0100
committerwurblzap%gmail.com <>2008-03-06 00:19:48 +0100
commit4e0bdbf2ab9908aa14f29a58cf887b9c5b853255 (patch)
treec675a74664dd3bbe60c9c161b887aaa3eae073ef /t/004template.t
parentb99dca01b3d8865cf360334419e682d2a92cefca (diff)
downloadbugzilla-4e0bdbf2ab9908aa14f29a58cf887b9c5b853255.tar.gz
bugzilla-4e0bdbf2ab9908aa14f29a58cf887b9c5b853255.tar.xz
Bug 419388 – 004template.t should fall back to “en”.
Patch by Vitaly Fedrushkov <vitaly.fedrushkov@gmail.com>; r=Wurblzap, a=LpSolit
Diffstat (limited to 't/004template.t')
-rw-r--r--t/004template.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/004template.t b/t/004template.t
index d2f368c9c..31ce7927c 100644
--- a/t/004template.t
+++ b/t/004template.t
@@ -69,12 +69,12 @@ sub existOnce {
foreach my $lang (@languages) {
foreach my $file (@referenced_files) {
my @path = map(File::Spec->catfile($_, $file),
- split(':', $include_path{$lang}));
+ split(':', $include_path{$lang} . ":" . $include_path{"en"}));
if (my $path = existOnce(@path)) {
ok(1, "$path exists");
} else {
ok(0, "$file cannot be located --ERROR");
- print $fh "Looked in:\n " . join("\n ", @path);
+ print $fh "Looked in:\n " . join("\n ", @path) . "\n";
}
}
}