s/make_immutable/metaclass->make_immutable/
[gitmo/Moose.git] / t / 030_roles / 003_apply_role.t
index f2adea8..96f406a 100644 (file)
@@ -39,7 +39,7 @@ BEGIN {
     sub boo { 'BarClass::boo' }
     sub foo { 'BarClass::foo' }  # << the role overrides this ...  
 
-    make_immutable(debug => 0);
+    metaclass->make_immutable(debug => 0);
 }{
     
     package FooClass;
@@ -52,7 +52,7 @@ BEGIN {
 
     sub goo { 'FooClass::goo' }  # << overrides the one from the role ... 
     
-    make_immutable(debug => 0);
+    metaclass->make_immutable(debug => 0);
 }{
     
     package FooBarClass;