projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081c6eb
)
The polymorphism seems to have fixed 20000517.001.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 21 Dec 2000 05:40:21 +0000
(
05:40
+0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Thu, 21 Dec 2000 05:40:21 +0000
(
05:40
+0000)
p4raw-id: //depot/perl@8216
t/pragma/utf8.t
patch
|
blob
|
history
diff --git
a/t/pragma/utf8.t
b/t/pragma/utf8.t
index
89416dc
..
8e4d296
100755
(executable)
--- a/
t/pragma/utf8.t
+++ b/
t/pragma/utf8.t
@@
-10,7
+10,7
@@
BEGIN {
}
}
-print "1..10
4
\n";
+print "1..10
5
\n";
my $test = 1;
@@
-543,3
+543,14
@@
sub nok_bytes {
$test++; # 104
}
+{
+ # 20000517.001
+
+ my $x = "\x{100}A";
+
+ $x =~ s/A/B/;
+
+ print "not " unless $x eq "\x{100}B" && length($x) == 2;
+ print "ok $test\n";
+ $test++; # 105
+}