Update Changes
[gitmo/Class-MOP.git] / t / 107_C3MethodDispatchOrder_test.t
index d20f306..c00f037 100644 (file)
@@ -3,12 +3,16 @@
 use strict;
 use warnings;
 
-use Test::More tests => 5;
+use Test::More;
 use File::Spec;
 
-BEGIN { 
+BEGIN {
+    eval "use Algorithm::C3";
+    plan skip_all => "Algorithm::C3 required for this test" if $@;
+    plan tests => 5;    
+
     use_ok('Class::MOP');    
-    require_ok(File::Spec->catdir('examples', 'C3MethodDispatchOrder.pod'));
+    require_ok(File::Spec->catfile('examples', 'C3MethodDispatchOrder.pod'));
 }
 
 {