From d6ea2a75f1c44ce46e596d4abf63201312f9fe5c Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 15 Jul 2015 16:42:05 +0300 Subject: [PATCH 1/1] Use cmp_ok with >= instead of is --- t/50-network.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.39.2