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:
31cdb61
)
Get t/io/utf8.t working under PERL_UNICODE
author
Father Chrysostomos
<sprout@cpan.org>
Tue, 14 Jan 2014 14:30:23 +0000
(06:30 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Tue, 14 Jan 2014 14:30:23 +0000
(06:30 -0800)
t/io/utf8.t
patch
|
blob
|
blame
|
history
diff --git
a/t/io/utf8.t
b/t/io/utf8.t
index
c8f37dd
..
acce07e
100644
(file)
--- a/
t/io/utf8.t
+++ b/
t/io/utf8.t
@@
-392,7
+392,7
@@
is($failed, undef);
# return values
SKIP: {
skip "no PerlIO::scalar on miniperl", 2, if is_miniperl();
- open my $fh, "<
",
\($buf = chr 255);
+ open my $fh, "<
:raw",
\($buf = chr 255);
open my $uh, "<:utf8", \($uuf = "\xc4\x80");
for([$uh,chr 256], [$fh,chr 255]) {
is getc $$_[0], $$_[1],