Skip to content

Commit

Permalink
Toss a wrong test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Dec 16, 2012
1 parent 7bec724 commit a836740
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions S02-magicals/sub.t
Expand Up @@ -8,7 +8,7 @@ This tests the &?ROUTINE magical value
=end comment

plan 4;
plan 3;

# L<S06/The C<&?ROUTINE> object>
# L<S02/Names/Which routine am I in>
Expand All @@ -25,10 +25,4 @@ sub postfix:<!!!> (Int $n) { $n < 2 ?? 1 !! $n * &?ROUTINE($n - 1) }
my $result3 = 3!!!;
is($result3, 6, 'the &?ROUTINE magical works correctly in overloaded operators' );

#?rakudo todo 'is this spec?'
{
my $baz = try { &?ROUTINE };
ok(defined($baz), '&?ROUTINE is defined for the MAIN routine');
}

# vim: ft=perl6

0 comments on commit a836740

Please sign in to comment.