X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F100_bugs%2F017_type_constraint_messages.t;h=0ead51e743c7886b4a4c10cb2bae30b3caa54560;hb=refs%2Fheads%2Fabandoned%2Fdeath_to_all_ellipses;hp=e5bee1ed85adf20ab22133c8863ffe7eaaa97171;hpb=6b584f6c4dc1c2108c1bc233caec49627b2cce04;p=gitmo%2FMoose.git diff --git a/t/100_bugs/017_type_constraint_messages.t b/t/100_bugs/017_type_constraint_messages.t index e5bee1e..0ead51e 100644 --- a/t/100_bugs/017_type_constraint_messages.t +++ b/t/100_bugs/017_type_constraint_messages.t @@ -57,17 +57,17 @@ throws_ok { $foo->ar( [] ); } qr/Attribute \(ar\) does not pass the type constraint because: ref: ARRAY/, - '... got the right error message'; + 'got the right error message'; throws_ok { $foo->obj($foo); # Doh! } qr/Attribute \(obj\) does not pass the type constraint because: Well it is an object/, - '... got the right error message'; + 'got the right error message'; throws_ok { $foo->nt($foo); # scalar } qr/Attribute \(nt\) does not pass the type constraint because: blessed/, - '... got the right error message'; + 'got the right error message';