s/metaclass/__PACKAGE__->meta/
[gitmo/Moose.git] / t / 300_immutable / 002_apply_roles_to_immutable.t
index 6149a1d..e4e0c3e 100644 (file)
@@ -26,7 +26,7 @@ BEGIN {
     
     sub baz { 'Foo::baz' }
     
-       metaclass->make_immutable(debug => 0);
+       __PACKAGE__->meta->make_immutable(debug => 0);
 }
 
 my $foo = Foo->new;