X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/9980ade4b1ecfbcfff00b2f605a3d4029b09eabf..af6a4ad191050514a1d8dc2a8b03c1c1459c2343:/t/op/closure.t diff --git a/t/op/closure.t b/t/op/closure.t index 4d560f6..574656b 100755 --- a/t/op/closure.t +++ b/t/op/closure.t @@ -673,9 +673,9 @@ __EOF__ # savestack, due to the early freeing of the anon closure my $got = runperl(stderr => 1, prog => -'sub d {die} my $f; $f = sub {my $x=1; $f = 0; d}; eval{$f->()}; print qw(ok)' +'sub d {die} my $f; $f = sub {my $x=1; $f = 0; d}; eval{$f->()}; print qq(ok\n)' ); - test { $got eq 'ok' }; + test { $got eq "ok\n" }; } # After newsub is redefined outside the BEGIN, it's CvOUTSIDE should point