From: Marius Gavrilescu Date: Wed, 15 Jul 2015 13:42:05 +0000 (+0300) Subject: Use cmp_ok with >= instead of is X-Git-Tag: 1.000~1 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=d6ea2a75f1c44ce46e596d4abf63201312f9fe5c;hp=d3123fb8d854a35bb4cacd632774974c040c3471;p=www-offliberty.git Use cmp_ok with >= instead of is --- diff --git a/t/50-network.t b/t/50-network.t index 44d9a98..14a9cb9 100644 --- a/t/50-network.t +++ b/t/50-network.t @@ -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';