]> iEval git - www-offliberty.git/commitdiff
Use cmp_ok with >= instead of is
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 15 Jul 2015 13:42:05 +0000 (16:42 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 15 Jul 2015 13:42:21 +0000 (16:42 +0300)
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.028104 seconds and 4 git commands to generate.