In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/ed260fbbeb9b3eb019398e84f1d723ab07cb3e68?hp=49b69fb3a31122264bea3770d8f9d3e4a1a97186>
- Log ----------------------------------------------------------------- commit ed260fbbeb9b3eb019398e84f1d723ab07cb3e68 Author: Father Chrysostomos <[email protected]> Date: Tue May 8 08:26:54 2012 -0700 Fix test failure Lesson learnt: After switching from threaded to unthreaded and fixing the test, switch back again and re-run the test. :-) ----------------------------------------------------------------------- Summary of changes: ext/PerlIO-scalar/t/scalar.t | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ext/PerlIO-scalar/t/scalar.t b/ext/PerlIO-scalar/t/scalar.t index 18bbda9..403afa7 100644 --- a/ext/PerlIO-scalar/t/scalar.t +++ b/ext/PerlIO-scalar/t/scalar.t @@ -371,6 +371,6 @@ SKIP: { is scalar threads::async(sub { my $foo = $str; $foo })->join, "a", 'scalars behind in-memory handles are cloned properly'; print $fh "a"; - is scalar async { print $fh "b"; $str }->join, "ab", + is scalar threads::async(sub { print $fh "b"; $str })->join, "ab", 'printing to a cloned in-memory handle works'; } -- Perl5 Master Repository
