work around blead bug involving quotemeta when testing with STDIN closed
David Golden
12 years ago
0 | 0 |
Revision history for Capture-Tiny
|
1 | 1 |
|
2 | 2 |
{{$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]
|
3 | 8 |
|
4 | 9 |
Tested:
|
5 | 10 |
|
17 | 17 |
|
18 | 18 |
my $builder = Test::More->builder;
|
19 | 19 |
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}");
|
20 | 24 |
|
21 | 25 |
save_std(qw/stdin/);
|
22 | 26 |
ok( close STDIN, "closed STDIN" );
|