s/make_immutable/metaclass->make_immutable/
[gitmo/Moose.git] / t / 300_immutable / 006_immutable_nonmoose_subclass.t
index 29143f3..200db87 100644 (file)
@@ -82,7 +82,7 @@ Sorry Sartak.
 
     sub child { 1 }
 
-    make_immutable;
+    metaclass->make_immutable;
 }
 
 is(blessed(Grandparent->new), "Grandparent", "got a Grandparent object out of Grandparent->new");