aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2008-03-05 23:19:48 +0000
committerwurblzap%gmail.com <>2008-03-05 23:19:48 +0000
commit4e0bdbf2ab9908aa14f29a58cf887b9c5b853255 (patch)
treec675a74664dd3bbe60c9c161b887aaa3eae073ef /t
parentb99dca01b3d8865cf360334419e682d2a92cefca (diff)
downloadbugs-4e0bdbf2ab9908aa14f29a58cf887b9c5b853255.tar
bugs-4e0bdbf2ab9908aa14f29a58cf887b9c5b853255.tar.gz
bugs-4e0bdbf2ab9908aa14f29a58cf887b9c5b853255.tar.bz2
bugs-4e0bdbf2ab9908aa14f29a58cf887b9c5b853255.tar.xz
bugs-4e0bdbf2ab9908aa14f29a58cf887b9c5b853255.zip
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')
-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";
}
}
}