Fix test skipping of http tests
[catagits/Catalyst-Runtime.git] / t / optional_http-server-restart.t
index 008e0b2..35e9f16 100644 (file)
@@ -15,8 +15,8 @@ eval "use Catalyst::Devel 1.0;";
 \r
 plan skip_all => 'set TEST_HTTP to enable this test' unless $ENV{TEST_HTTP};\r
 plan skip_all => 'Catalyst::Devel required' if $@;\r
-\r
-use File::Copy::Recursive;\r
+eval "use File::Copy::Recursive";\r
+plan skip_all => 'File::Copy::Recursive required' if $@;\r
 \r
 plan tests => 40;\r
 \r