summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2006-11-02 17:49:53 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-11-02 17:49:53 +0000
commit6727fff1549ac0959bf3db3fb9ee2bdc2e31327c (patch)
tree5e69ee1e41dac43df4aab65e82ffaa2fb2b7a9ef
parenteb0348242d61a494f99b29d5799609411296b7da (diff)
downloadperl-6727fff1549ac0959bf3db3fb9ee2bdc2e31327c.tar.gz
Change #29193 makes this addition unneeded
p4raw-id: //depot/perl@29195
-rw-r--r--t/lib/common.pl11
1 files changed, 0 insertions, 11 deletions
diff --git a/t/lib/common.pl b/t/lib/common.pl
index e188ab8d67..605bc2a21e 100644
--- a/t/lib/common.pl
+++ b/t/lib/common.pl
@@ -58,12 +58,6 @@ undef $/;
plan tests => (scalar(@prgs)-$files);
-my $utf8_ok = exists $ENV{PERL_UNICODE} && (
- $ENV{PERL_UNICODE} =~ m{[Dio]}
- || ($ENV{PERL_UNICODE} eq ""
- && ($ENV{LC_ALL} =~ /\butf-?8\b/i || $ENV{LANG} =~ /\butf-?8\b/i))
-);
-
for (@prgs){
unless (/\n/)
{
@@ -77,11 +71,6 @@ for (@prgs){
$switch = $&;
}
my($prog,$expected) = split(/\nEXPECT(?:\n|$)/, $_, 2);
- $expected =~ s{\b
- UTF8 \s*
- \? \s* '(.*?)'
- : \s* '(.*?)'
- }{$utf8_ok?$1:$2}gexs;
my ($todo, $todo_reason);
$todo = $prog =~ s/^#\s*TODO(.*)\n//m and $todo_reason = $1;