]> iEval git - www-offliberty.git/blobdiff - t/50-network.t
Bump version and update Changes
[www-offliberty.git] / t / 50-network.t
index ef9b682f19aedaa0850f0fb47399d2d698939029..14a9cb9e72dd1bdda4e169e050ed66b9148324ad 100644 (file)
@@ -1,14 +1,14 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
 use strict;
 use warnings;
 
-use LWP::Online ':skip_all';
+use Test::RequiresInternet 'offliberty.com' => 80;
 use Test::More tests => 2;
 use WWW::Offliberty qw/off/;
 
 my @results;
 @results = off "http://youtube.com/watch?v=Tj75Arhq5ho";
-is @results, 1, 'youtube';
+cmp_ok @results, '>=', 1, 'youtube';
 
 @results = off "http://youtube.com/watch?v=Tj75Arhq5ho", video_file => 1;
 is @results, 2, 'youtube, video_file => 1';
This page took 0.022634 seconds and 4 git commands to generate.