]> iEval git - www-offliberty.git/blobdiff - t/50-network.t
Use cmp_ok with >= instead of is
[www-offliberty.git] / t / 50-network.t
index 44d9a9854da00d94379203997902177aed7f89be..14a9cb9e72dd1bdda4e169e050ed66b9148324ad 100644 (file)
@@ -8,7 +8,7 @@ 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.021678 seconds and 4 git commands to generate.