From: Dave Rolsky Date: Tue, 30 Sep 2008 14:14:37 +0000 (+0000) Subject: this tests defining the same type twice X-Git-Tag: 0.59~28 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6cb6aa940eef8456e4c4fd931ad5ef72a8e770b2;p=gitmo%2FMoose.git this tests defining the same type twice --- diff --git a/t/040_type_constraints/029_define_constraint_twice_throws.t b/t/040_type_constraints/029_define_type_twice_throws.t similarity index 83% rename from t/040_type_constraints/029_define_constraint_twice_throws.t rename to t/040_type_constraints/029_define_type_twice_throws.t index df553fc..190f123 100644 --- a/t/040_type_constraints/029_define_constraint_twice_throws.t +++ b/t/040_type_constraints/029_define_type_twice_throws.t @@ -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';