From: Jarkko Hietaniemi Date: Fri, 1 Dec 2000 03:26:26 +0000 (+0000) Subject: Two more tests that make no sense in UTF-8 since the test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=78109b9e7880b756b1f4157b2eae0f83f070e89b;p=p5sagit%2Fp5-mst-13.2.git Two more tests that make no sense in UTF-8 since the test data is not in UTF-8. p4raw-id: //depot/perl@7939 --- diff --git a/t/op/regexp.t b/t/op/regexp.t index 239fa84..7fbfc97 100755 --- a/t/op/regexp.t +++ b/t/op/regexp.t @@ -74,7 +74,7 @@ while () { $skip = ($skip_amp ? ($result =~ s/B//i) : ($result =~ s/B//)); # Certain tests don't work with utf8 (the re_test should be in UTF8) $skip = 1, $reason = 'utf8' - if ($^H &= ~0x00000008) && $pat =~ /\[:\^(alnum|print|word):\]/; + if ($^H &= ~0x00000008) && $pat =~ /\[:\^(alnum|print|word|ascii|xdigit):\]/; $result =~ s/B//i unless $skip; for $study ('', 'study \$subject') { $c = $iters;