Skip to content

Commit

Permalink
Test basic metamethods for a Package (#134)
Browse files Browse the repository at this point in the history
RT#128579
  • Loading branch information
zoffixznet committed Jul 8, 2016
1 parent a83ede0 commit fe1d544
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion S12-introspection/meta-class.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 16;
plan 17;

=begin pod
Expand Down Expand Up @@ -40,6 +40,15 @@ subtest { plan 3;
is M.^auth, 'me', '.auth is correct';
}, 'metamethods on a module';

# RT #128579
subtest { plan 3;
my package P:ver<1.2.3>:auth<me> {};
is P.^name, 'P', '.name is correct';
is P.^ver, '1.2.3', '.ver is correct';
is P.^auth, 'me', '.auth is correct';
}, 'metamethods on a module';


# RT #115208
eval-lives-ok "True.HOW.say", "can output the .gist of a .HOW";

Expand Down

0 comments on commit fe1d544

Please sign in to comment.