X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Faccessor-coerce.t;h=4288b97f1705f72c7530fae073c06a9db8023999;hb=baa7d706ec5069cd0d81920aab258504653fd093;hp=d3a41e1dab3b5b2445744477da3d6c3c87df513b;hpb=9b0fb700146699ec39db5c47bc15dbeb96c4f2b1;p=gitmo%2FMoo.git diff --git a/t/accessor-coerce.t b/t/accessor-coerce.t index d3a41e1..4288b97 100644 --- a/t/accessor-coerce.t +++ b/t/accessor-coerce.t @@ -94,7 +94,7 @@ run_for 'Baz'; ); } -like exception { Biff->new(plus_three => 1) }, qr/could not add three!/, 'Exception properly thrown'; +like exception { Biff->new(plus_three => 1) }, qr/coercion for "plus_three" failed: could not add three!/, 'Exception properly thrown'; { package Foo2;