From: Matt S Trout Date: Fri, 18 May 2012 13:17:28 +0000 (+0000) Subject: add a test for direct check X-Git-Tag: v0.32~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=195d6241459e1d7786e10fb396d4b277c1929bb2;p=gitmo%2FMooseX-Types.git add a test for direct check --- diff --git a/t/22_class_type.t b/t/22_class_type.t index 2fdf560..091eba0 100644 --- 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;