From: Jesse Luehrs Date: Tue, 23 Jun 2009 05:26:40 +0000 (-0500) Subject: the metaclass is a Moose::Meta::Class, so it should be immutable X-Git-Tag: 0.83~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5d0d2c0b0cf57e8ae276010248de570c7063f9bb;p=gitmo%2FMoose.git the metaclass is a Moose::Meta::Class, so it should be immutable --- diff --git a/t/300_immutable/014_immutable_metaclass_with_traits.t b/t/300_immutable/014_immutable_metaclass_with_traits.t index 0a76d41..5fff95c 100644 --- a/t/300_immutable/014_immutable_metaclass_with_traits.t +++ b/t/300_immutable/014_immutable_metaclass_with_traits.t @@ -28,7 +28,7 @@ is(Class::MOP::class_of('Foo'), Foo->meta, $meta = Foo->meta; isa_ok($meta->meta, 'Moose::Meta::Class'); ok($meta->is_immutable, "class is immutable"); -ok($meta->meta->is_mutable, "metaclass is mutable (immutable class)"); +ok($meta->meta->is_immutable, "metaclass is immutable (immutable class)"); TODO: { local $TODO = "immutable metaclasses with traits do weird things"; is(Class::MOP::class_of($meta), $meta->meta,