remove extraneous garbage from tests
[gitmo/Class-C3.git] / t / 03_MRO.t
index f5ce4c7..182926c 100644 (file)
@@ -3,14 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 8;
-
-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 => 7;
 
 =pod
 
@@ -94,6 +87,8 @@ Level 0                0 | A |
     use Class::C3;
 }
 
+Class::C3::initialize();
+
 is_deeply(
     [ Class::C3::calculateMRO('Test::A') ],
     [ qw(Test::A Test::B Test::E Test::C Test::D Test::F Test::O) ],