projects
/
gitmo/MooseX-Types.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
add a test for direct check
[gitmo/MooseX-Types.git]
/
t
/
22_class_type.t
diff --git
a/t/22_class_type.t
b/t/22_class_type.t
index
2fdf560
..
091eba0
100644
(file)
--- a/
t/22_class_type.t
+++ b/
t/22_class_type.t
@@
-31,4
+31,6
@@
ok(my $o = ClassyClassConsumer->new, "Constructor happy");
is(ref($o->om_nom), 'ClassyClass', 'Attribute happy');
+ok(ClassyClassConsumer->new(om_nom => ClassyClass->new), 'Constructor happy');
+
done_testing;