Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.

Commit 67623b5

Browse files
committed
Few more tests.
1 parent 2b9c270 commit 67623b5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

t/nqp/56-role.t

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
plan(10);
1+
plan(13);
22

33
role R1 {
44
has $!a;
@@ -33,3 +33,8 @@ class C3 does R3 does R4 { method c() { 'resolved' } }
3333
ok(C3.a() == 1);
3434
ok(C3.b() == 2);
3535
ok(C3.c() eq 'resolved');
36+
37+
ok(!C3.HOW.does(C3, R1));
38+
ok(C3.HOW.does(C3, R3));
39+
ok(C3.HOW.does(C3, R4));
40+

0 commit comments

Comments
 (0)