Don't tell people to install a module unless they want to run the test
Andy Grundman [Mon, 17 Oct 2005 18:19:34 +0000 (18:19 +0000)]
t/optional/01http-server.t

index 18d8797..6ba92d4 100644 (file)
@@ -8,8 +8,8 @@ use FindBin;
 use Test::More;
 eval "use File::Copy::Recursive";
 
-plan skip_all => 'File::Copy::Recursive required' if $@;
 plan skip_all => 'set TEST_HTTP to enable this test' unless $ENV{TEST_HTTP};
+plan skip_all => 'File::Copy::Recursive required' if $@;
 
 # clean up
 rmtree "$FindBin::Bin/../../t/var" if -d "$FindBin::Bin/../../t/var";