From: Dave Rolsky Date: Fri, 14 Oct 2011 21:33:15 +0000 (-0500) Subject: A mutable class will throw errors from inside CMOP, and that's expected X-Git-Tag: 2.0301~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=58e23c445bc01824af1ff190faee0eb5ebd44e51;p=gitmo%2FMoose.git A mutable class will throw errors from inside CMOP, and that's expected --- diff --git a/t/metaclasses/custom_error_class.t b/t/metaclasses/custom_error_class.t index a4408e1..9a96f2e 100644 --- a/t/metaclasses/custom_error_class.t +++ b/t/metaclasses/custom_error_class.t @@ -122,11 +122,6 @@ use Test::Requires { $error->error, 'Attribute (test1) is required', 'got the right message (mutable class)' ); - is( - $error->package, 'My::TestMutable', - 'got the right package (mutable class)' - ); - is( $error->line, 42, 'got the right line (mutable class)' ); } done_testing;