From: Dave Rolsky Date: Fri, 29 Aug 2008 18:09:09 +0000 (+0000) Subject: Fix some broken tests (testing the wrong class) X-Git-Tag: 0.55_04~2^2~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=deed2e7e204c9ae8b602c92a7564263849a0457b;p=gitmo%2FMoose.git Fix some broken tests (testing the wrong class) --- diff --git a/t/050_metaclasses/015_metarole.t b/t/050_metaclasses/015_metarole.t index d2594e9..e7ae77b 100644 --- a/t/050_metaclasses/015_metarole.t +++ b/t/050_metaclasses/015_metarole.t @@ -305,18 +305,18 @@ use Moose::Util::MetaRole; } { - ok( My::Class->meta()->meta()->does_role('Role::Foo'), - q{My::Class5->meta()'s does Role::Foo because it extends My::Class} ); - ok( My::Class->meta()->attribute_metaclass()->meta()->does_role('Role::Foo'), + ok( My::Class5->meta()->meta()->does_role('Role::Foo'), + q{My::Class55->meta()'s does Role::Foo because it extends My::Class} ); + ok( My::Class5->meta()->attribute_metaclass()->meta()->does_role('Role::Foo'), q{My::Class5->meta()'s attribute metaclass also does Role::Foo} ); - ok( My::Class->meta()->method_metaclass()->meta()->does_role('Role::Foo'), + ok( My::Class5->meta()->method_metaclass()->meta()->does_role('Role::Foo'), q{My::Class5->meta()'s method metaclass also does Role::Foo} ); - ok( My::Class->meta()->instance_metaclass()->meta()->does_role('Role::Foo'), + ok( My::Class5->meta()->instance_metaclass()->meta()->does_role('Role::Foo'), q{My::Class5->meta()'s instance metaclass also does Role::Foo} ); - ok( My::Class->meta()->constructor_class()->meta()->does_role('Role::Foo'), + ok( My::Class5->meta()->constructor_class()->meta()->does_role('Role::Foo'), q{My::Class5->meta()'s constructor class also does Role::Foo} ); - ok( My::Class->meta()->destructor_class()->meta()->does_role('Role::Foo'), - q{My::Class->meta()'s destructor class also does Role::Foo} ); + ok( My::Class5->meta()->destructor_class()->meta()->does_role('Role::Foo'), + q{My::Class5->meta()'s destructor class also does Role::Foo} ); } {