We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b57a2db commit 5cf0975Copy full SHA for 5cf0975
t/020-basic.t
@@ -28,6 +28,14 @@ my $h = from-json($json);
28
is $h<version>, "0.0.1", "version is right";
29
is $h<perl>, "6", "perl is right";
30
31
+for $obj.^attributes -> $attr {
32
+ if $attr.has-accessor {
33
+
34
+ ok $attr.^does(META6::MetaAttribute), "attribute { $attr.name } has the trait";
35
36
+ }
37
+}
38
39
40
done-testing;
41
# vim: expandtab shiftwidth=4 ft=perl6
0 commit comments