this tests defining the same type twice
Dave Rolsky [Tue, 30 Sep 2008 14:14:37 +0000 (14:14 +0000)]
t/040_type_constraints/029_define_type_twice_throws.t [moved from t/040_type_constraints/029_define_constraint_twice_throws.t with 83% similarity]

@@ -22,5 +22,5 @@ throws_ok {
     use Moose::Util::TypeConstraints;
 
     subtype 'MySubType' => as 'Int' => where { 1 };
-} qr/cannot be created again/, 'Trying to create same constraint twice throws';
+} qr/cannot be created again/, 'Trying to create same type twice throws';