This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e0b0d6
)
dist/Storable/t/utf8.t: Fix to run under EBCDIC
author
Karl Williamson
<public@khwilliamson.com>
Tue, 2 Apr 2013 04:28:43 +0000
(22:28 -0600)
committer
Karl Williamson
<khw@cpan.org>
Mon, 9 Mar 2015 21:19:57 +0000
(15:19 -0600)
dist/Storable/t/utf8.t
patch
|
blob
|
blame
|
history
diff --git
a/dist/Storable/t/utf8.t
b/dist/Storable/t/utf8.t
index
fd20ef6
..
dfb43ea
100644
(file)
--- a/
dist/Storable/t/utf8.t
+++ b/
dist/Storable/t/utf8.t
@@
-33,7
+33,7
@@
$x = join '', map {chr $_} (0..1023);
is($x, ${thaw freeze \$x});
# Char in the range 127-255 (probably) in utf8
-$x = chr
(175
) . chr (256);
+$x = chr
(utf8::unicode_to_native(175)
) . chr (256);
chop $x;
is($x, ${thaw freeze \$x});