From 4e0bdbf2ab9908aa14f29a58cf887b9c5b853255 Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" <> Date: Wed, 5 Mar 2008 23:19:48 +0000 Subject: =?UTF-8?q?Bug=20419388=20=C3=A2=C2=80=C2=93=20004template.t=20sho?= =?UTF-8?q?uld=20fall=20back=20to=20=C3=A2=C2=80=C2=9Cen=C3=A2=C2=80=C2=9D?= =?UTF-8?q?.=20Patch=20by=20Vitaly=20Fedrushkov=20;=20r=3DWurblzap,=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- t/004template.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't') 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"; } } } -- cgit v1.2.1