diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-01-22 17:34:28 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-01-22 17:34:28 +0000 |
commit | 1d810d022c1df9290836272bd905a359220a1345 (patch) | |
tree | f63ce3ea5688ff5784571ac4cdc5cdfbeeaea3ab /dist/I18N-LangTags | |
parent | 2f794ae103681c68e0b714686c925821a1d928b5 (diff) | |
download | perl-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.t | 14 |
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'; |