diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-05-08 08:26:54 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-05-08 08:26:54 -0700 |
commit | ed260fbbeb9b3eb019398e84f1d723ab07cb3e68 (patch) | |
tree | 30a0338db0b30892f9fe17998126caffadf2d18f /ext | |
parent | 49b69fb3a31122264bea3770d8f9d3e4a1a97186 (diff) | |
download | perl-ed260fbbeb9b3eb019398e84f1d723ab07cb3e68.tar.gz |
Fix test failure
Lesson learnt: After switching from threaded to unthreaded and fixing
the test, switch back again and re-run the test. :-)
Diffstat (limited to 'ext')
-rw-r--r-- | 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 18bbda9404..403afa7e90 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'; } |