We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f9e40 commit 06b24bbCopy full SHA for 06b24bb
S12-introspection/meta-class.t
@@ -41,12 +41,11 @@ subtest { plan 3;
41
}, 'metamethods on a module';
42
43
# RT #128579
44
-subtest { plan 3;
+subtest { plan 2;
45
my package P:ver<1.2.3>:auth<me> {};
46
- is P.^name, 'P', '.name is correct';
47
- is P.^ver, '1.2.3', '.ver is correct';
48
- is P.^auth, 'me', '.auth is correct';
49
-}, 'metamethods on a module';
+ throws-like { P.^ver }, X::Method::NotFound, '.ver is absent';
+ throws-like { P.^auth }, X::Method::NotFound, '.auth is absent';
+}, 'ID metamethods on a package are absent by design';
50
51
52
# RT #115208
0 commit comments