HTML::Restrict 2.1.5 breaks with Moo 1.002000 (see RT#85088)
[gitmo/Moo.git] / t / method-generate-constructor.t
index 6a030c8..6299010 100644 (file)
@@ -57,4 +57,10 @@ is(
   'hashrefs also supported'
 );
 
+is(
+  exception { $first->new(one => 1, THREE => 3) },
+  undef,
+  'calling ->new on an object works'
+);
+
 done_testing;