summaryrefslogtreecommitdiff
path: root/dist/I18N-LangTags
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-01-22 17:34:28 +0000
committerNicholas Clark <nick@ccl4.org>2011-01-22 17:34:28 +0000
commit1d810d022c1df9290836272bd905a359220a1345 (patch)
treef63ce3ea5688ff5784571ac4cdc5cdfbeeaea3ab /dist/I18N-LangTags
parent2f794ae103681c68e0b714686c925821a1d928b5 (diff)
downloadperl-1d810d022c1df9290836272bd905a359220a1345.tar.gz
Remove duplicate test for $ENV{LANG} in I18N::LangTags test 80_all_env.t
Diffstat (limited to 'dist/I18N-LangTags')
-rw-r--r--dist/I18N-LangTags/t/80_all_env.t14
1 files changed, 1 insertions, 13 deletions
diff --git a/dist/I18N-LangTags/t/80_all_env.t b/dist/I18N-LangTags/t/80_all_env.t
index 1362d5ebf5..262c757d25 100644
--- a/dist/I18N-LangTags/t/80_all_env.t
+++ b/dist/I18N-LangTags/t/80_all_env.t
@@ -2,7 +2,7 @@
require 5;
use Test;
# Time-stamp: "2004-07-01 14:33:50 ADT"
-BEGIN { plan tests => 20; }
+BEGIN { plan tests => 18; }
use I18N::LangTags::Detect 1.01;
print "# Hi there...\n";
ok 1;
@@ -79,18 +79,6 @@ ok show( j I18N::LangTags::Detect::detect()), q{["eu-mt"]};
-print "# Test LANG...\n";
-$ENV{'LANGUAGE'} = '';
-$ENV{'REQUEST_METHOD'} = '';
-$ENV{'LC_ALL'} = '';
-$ENV{'LC_MESSAGES'} = '';
-$ENV{'LANG'} = 'Eu_MT';
-
-ok show( scalar I18N::LangTags::Detect::detect()), "eu-mt";
-ok show( j I18N::LangTags::Detect::detect()), q{["eu-mt"]};
-
-
-
print "# Test HTTP_ACCEPT_LANGUAGE...\n";
$ENV{'REQUEST_METHOD'} = 'GET';