Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix a test, rakudo unfudges
  • Loading branch information
moritz committed Nov 24, 2011
1 parent a4ed986 commit aed8452
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions S04-blocks-and-statements/pointy.t
Expand Up @@ -44,9 +44,7 @@ my $s = -> {
$n++;
redo if $n < 10;
};
try { $s.() };
#?pugs todo 'feature'
ok(!defined($!), 'pointy with block control exceptions');
dies_ok $s, 'pointy with block control exceptions';
#?rakudo todo 'pointy blocks and last/redo'
is $n, 10, "pointy control exceptions ran";

Expand Down
1 change: 0 additions & 1 deletion S04-statements/do.t
Expand Up @@ -132,7 +132,6 @@ is eval('my $i; A: do { $i++; redo A until $i == 5; $i-- }; $i'), 4,
}

# L<S04/The do-once loop/"bare block is not a do-once">
#?rakudo todo 'next/last/redo handling without handlers'
{
eval_dies_ok 'my $i; { $i++; next; $i--; }',
"bare block can't take 'next'";
Expand Down

0 comments on commit aed8452

Please sign in to comment.