Codebase list libcapture-tiny-perl / 125ba6f
work around blead bug involving quotemeta when testing with STDIN closed David Golden 12 years ago
2 changed file(s) with 9 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
00 Revision history for Capture-Tiny
11
22 {{$NEXT}}
3
4 Fixed:
5
6 - Added a workaround for failing t/08-stdin-closed.t under blead
7 perl / 5.15.8 [rt.perl.org #111070]
38
49 Tested:
510
1717
1818 my $builder = Test::More->builder;
1919 binmode($builder->failure_output, ':utf8') if $] >= 5.008;
20
21 # XXX work around a bug in perl; this needs to be called early-ish
22 # to avoid some sort of filehandle leak when combined with Capture::Tiny
23 my $qm = quotemeta("\x{263a}");
2024
2125 save_std(qw/stdin/);
2226 ok( close STDIN, "closed STDIN" );