more tests and the constructor stuff as well
[gitmo/Moose.git] / t / 300_immutable / 002_apply_roles_to_immutable.t
index e4e0c3e..cb86ed0 100644 (file)
@@ -26,7 +26,7 @@ BEGIN {
     
     sub baz { 'Foo::baz' }
     
-       __PACKAGE__->meta->make_immutable(debug => 0);
+       make_immutable(debug => 0);
 }
 
 my $foo = Foo->new;