s/metaclass/__PACKAGE__->meta/
[gitmo/Moose.git] / t / 020_attributes / 019_attribute_lazy_initializer.t
index 40dbe54..2c6f9ac 100644 (file)
@@ -115,7 +115,7 @@ BEGIN {
         },
     );  
     
-    make_immutable;
+    __PACKAGE__->meta->make_immutable;
 }
 
 {
@@ -143,15 +143,10 @@ BEGIN {
         },
     );  
     
-    make_immutable;
+    __PACKAGE__->meta->make_immutable;
 }
 
 dies_ok {
     Fail::Bar->new(foo => 10)
 } '... this fails, because initializer returns a bad type';
 
-
-
-
-
-