summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-09-01 23:02:09 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-09-01 23:02:09 +0000
commit75685a94f35c086cc598b03baf224ef3dc31936b (patch)
tree8ac9ae3695815e210cbf66fa85c4350f2c2dd315 /t
parent0dee299505be854b55f6a69aa322f436217cfe87 (diff)
downloadperl-75685a94f35c086cc598b03baf224ef3dc31936b.tar.gz
Test tweaks.
p4raw-id: //depot/perl@11818
Diffstat (limited to 't')
-rwxr-xr-xt/op/pat.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/op/pat.t b/t/op/pat.t
index 478e2994f0..2e8922523c 100755
--- a/t/op/pat.t
+++ b/t/op/pat.t
@@ -1989,6 +1989,8 @@ print "ok 683\n" if @a == 9 && "@a" eq "f o o \n $a $b b a r";
}
{
+ # [ID 20010407.006] matching utf8 return values from functions does not work
+
package ID_20010407_006;
sub x {
@@ -2000,7 +2002,7 @@ print "ok 683\n" if @a == 9 && "@a" eq "f o o \n $a $b b a r";
$x =~ /(..)/; $y = $1;
print "not " unless length($y) == 2 && $y eq $x;
- print "ok 685\n" if length($y) == 2;
+ print "ok 685\n";
x =~ /(..)/; $y = $1;
print "not " unless length($y) == 2 && $y eq $x;