Add test for load_class on stashes with GVs without actual methods.
[gitmo/Class-MOP.git] / t / 040_metaclass.t
index b8f4918..72d0443 100644 (file)
@@ -1,12 +1,9 @@
-#!/usr/bin/perl
-
 use strict;
 use warnings;
 
-use Test::More tests => 12;
+use Test::More tests => 11;
 
-BEGIN {
-    use_ok('metaclass');    
+BEGIN {use metaclass;    
 }
 
 {
@@ -33,8 +30,8 @@ isa_ok(Foo->meta, 'Class::MOP::Class');
     
     package Bar;
     use metaclass 'BarMeta' => (
-        ':attribute_metaclass' => 'BarMeta::Attribute',
-        ':method_metaclass'    => 'BarMeta::Method',        
+        'attribute_metaclass' => 'BarMeta::Attribute',
+        'method_metaclass'    => 'BarMeta::Method',        
     );
 }