Change #29193 makes this addition unneeded
authorH.Merijn Brand <h.m.brand@xs4all.nl>
Thu, 2 Nov 2006 17:49:53 +0000 (17:49 +0000)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Thu, 2 Nov 2006 17:49:53 +0000 (17:49 +0000)
p4raw-id: //depot/perl@29195

t/lib/common.pl

index e188ab8..605bc2a 100644 (file)
@@ -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;