Skip to content

Commit

Permalink
Extra .^methods tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 9, 2013
1 parent ef55c9b commit 1415743
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S12-introspection/methods.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 52;
plan 56;

=begin pod
Expand Down Expand Up @@ -147,6 +147,10 @@ is @methods[0].name, 'bar', 'methods call found public method in subclass (with
{
lives_ok { Sub.^methods.gist }, 'Can .gist methods of a subroutine';
lives_ok { Sub.^methods.perl }, 'Can .perl methods of a subroutine';
lives_ok { Method.^methods.gist }, 'Can .gist methods of a method';
lives_ok { Method.^methods.perl }, 'Can .perl methods of a method';
lives_ok { { $^a }.^methods.gist }, 'Can .gist methods of a block';
lives_ok { { $^a }.^methods.perl }, 'Can .perl methods of a block';
}

# vim: ft=perl6

0 comments on commit 1415743

Please sign in to comment.