remove extraneous garbage from tests
[gitmo/Class-C3.git] / t / 22_uninitialize.t
index e5068d2..ccf6c97 100644 (file)
@@ -3,14 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 12;
-
-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 => 11;
 
 =pod
 
@@ -49,6 +42,8 @@ BEGIN {
     our %hello = (h => 1, e => 2, l => "3 & 4", o => 5)
 }
 
+Class::C3::initialize();
+
 is(Diamond_D->hello, 'Diamond_C::hello', '... method resolves with the correct MRO');
 is(Diamond_D->goodbye, 'Diamond_C::goodbye', '... method resolves with the correct MRO');