remove extraneous garbage from tests
[gitmo/Class-C3.git] / t / 06_MRO.t
index 8cfadd5..f1dfc6d 100644 (file)
@@ -3,14 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 3;
-
-BEGIN {
-    use_ok('Class::C3');
-    # uncomment this line, and re-run the
-    # test to see the normal p5 dispatch order
-    #$Class::C3::TURN_OFF_C3 = 1;    
-}
+use Test::More tests => 2;
 
 =pod
 
@@ -52,6 +45,8 @@ while building DBIx::Class. Thanks Matt!!!!
     sub foo { 'Diamond_D::foo => ' . (shift)->next::method }    
 }
 
+Class::C3::initialize();
+
 is_deeply(
     [ Class::C3::calculateMRO('Diamond_D') ],
     [ qw(Diamond_D Diamond_C Diamond_B Diamond_A) ],