]> iEval git - www-search-torrentz.git/commitdiff
Use Test::RequiresInternet
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 21 Nov 2014 15:27:35 +0000 (17:27 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 21 Nov 2014 15:27:35 +0000 (17:27 +0200)
Makefile.PL
t/WWW-Search-Torrentz.t

index 598ec9714ba2fb64fb00e877c51a7c6f506f8894..edcedc30d952176fdd1b2ee5b1e9eb2f6f9b5238 100644 (file)
@@ -10,7 +10,8 @@ WriteMakefile(
        LICENSE           => 'perl',
        SIGN              => 1,
        BUILD_REQUIRES    => {
-               qw/WWW::Search::Test 0/,
+               qw/Test::RequiresInternet 0
+                  WWW::Search::Test 0/,
        },
        PREREQ_PM         => {
                qw/HTML::TreeBuilder 0
index 295c359d5c47984fdf392905456cfeb378694a85..64116f7898409f91542dc2308bc9e05046ef2856 100644 (file)
@@ -3,7 +3,9 @@ use strict;
 use warnings;
 
 use WWW::Search::Test;
+use Test::RequiresInternet qw/torrentz.eu 443/;
 use Test::More;
+
 BEGIN { use_ok('WWW::Search::Torrentz') };
 
 tm_new_engine('Torrentz');
This page took 0.024574 seconds and 4 git commands to generate.