summaryrefslogtreecommitdiffstats
path: root/t/001_constructor_injection.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-12-28 06:45:36 -0600
committerJesse Luehrs <doy@tozt.net>2012-12-28 06:45:36 -0600
commit51f82ea92b494418fe5c73b618b1420a347c9673 (patch)
treea760361dda9b168b0c7448f5b5e09528a17251e4 /t/001_constructor_injection.t
parent78a70ab703db2f44d4af3117388e62a2ac1396fa (diff)
downloadp6-bread-board-51f82ea92b494418fe5c73b618b1420a347c9673.tar.gz
p6-bread-board-51f82ea92b494418fe5c73b618b1420a347c9673.zip
method stubs are {...}, not {*}
Diffstat (limited to 't/001_constructor_injection.t')
-rw-r--r--t/001_constructor_injection.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/001_constructor_injection.t b/t/001_constructor_injection.t
index b6e03bc..471b731 100644
--- a/t/001_constructor_injection.t
+++ b/t/001_constructor_injection.t
@@ -3,7 +3,10 @@ use Test;
use Bread::Board;
-sub does_ok(Mu $var, Mu $type, $msg = ("The object does '" ~ $type.perl ~ "'")) {
+# TODO: doing anything at all with the type object for a role with required
+# methods is broken
+#sub does_ok(Mu $var, Mu $type, $msg = ("The object does '" ~ $type.perl ~ "'")) {
+sub does_ok(Mu $var, Mu $type, $msg = ("The object does [some role]")) {
ok($var.does($type), $msg);
}