Skip to content

Commit a836740

Browse files
committed
Toss a wrong test.
1 parent 7bec724 commit a836740

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

S02-magicals/sub.t

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This tests the &?ROUTINE magical value
88
99
=end comment
1010

11-
plan 4;
11+
plan 3;
1212

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

28-
#?rakudo todo 'is this spec?'
29-
{
30-
my $baz = try { &?ROUTINE };
31-
ok(defined($baz), '&?ROUTINE is defined for the MAIN routine');
32-
}
33-
3428
# vim: ft=perl6

0 commit comments

Comments
 (0)