X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=t%2F020_attributes%2F012_misc_attribute_tests.t;fp=t%2F020_attributes%2F012_misc_attribute_tests.t;h=8dc93ed4454f01db249824599fc1ecfde99d1702;hp=ac46d5ab2848f2a7ae58e0d6faa14bd8e1871e88;hb=537873b064ad328ea662e3792b128d9b016ed38a;hpb=b5956f03156c79cfbdd20f9526f95a9df5aa26b4 diff --git a/t/020_attributes/012_misc_attribute_tests.t b/t/020_attributes/012_misc_attribute_tests.t index ac46d5a..8dc93ed 100644 --- a/t/020_attributes/012_misc_attribute_tests.t +++ b/t/020_attributes/012_misc_attribute_tests.t @@ -142,7 +142,7 @@ use Test::Mouse; throws_ok { $moose_obj->a_str( $moose_obj ) - } qr/Attribute \(a_str\) does not pass the type constraint because\: Validation failed for 'Str' failed with value OverloadedStr=HASH\(0x.+?\)/, + } qr/Attribute \(a_str\) does not pass the type constraint because\: Validation failed for 'Str' with value OverloadedStr=HASH\(0x.+?\)/, '... dies without overloading the string'; } @@ -157,7 +157,7 @@ use Test::Mouse; throws_ok { OverloadBreaker->new; - } qr/Attribute \(a_num\) does not pass the type constraint because\: Validation failed for 'Int' failed with value 7\.5/, + } qr/Attribute \(a_num\) does not pass the type constraint because\: Validation failed for 'Int' with value 7\.5/, '... this doesnt trip overload to break anymore '; lives_ok {