Skip to content

Commit

Permalink
[t/spec] Unfudge tests for subs with return types being able to fail.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.pugscode.org/pugs@28028 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
jnthn committed Aug 19, 2009
1 parent 68bc655 commit b83bf58
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions S04-exceptions/fail.t
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,9 @@ plan 6;
# RT #64990
{
our Int sub rt64990 { fail() }
#?rakudo skip 'RT #64990'
ok rt64990() ~~ Failure, 'sub typed Int can fail()';

our Int sub repeat { return fail() }
#?rakudo skip 'RT #64990'
ok repeat() ~~ Failure, 'sub typed Int can return Failure';
}

Expand Down

0 comments on commit b83bf58

Please sign in to comment.