projects
/
gitmo/MooseX-Types.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b2a6a38
)
add a test for direct check
Matt S Trout [Fri, 18 May 2012 13:17:28 +0000 (13:17 +0000)]
t/22_class_type.t
patch
|
blob
|
blame
|
history
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;