projects
/
www-offliberty.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3123fb
)
Use cmp_ok with >= instead of is
author
Marius Gavrilescu
<marius@ieval.ro>
Wed, 15 Jul 2015 13:42:05 +0000
(16:42 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Wed, 15 Jul 2015 13:42:21 +0000
(16:42 +0300)
t/50-network.t
patch
|
blob
|
blame
|
history
diff --git
a/t/50-network.t
b/t/50-network.t
index 44d9a9854da00d94379203997902177aed7f89be..14a9cb9e72dd1bdda4e169e050ed66b9148324ad 100644
(file)
--- 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';
This page took
0.011023 seconds
and
4
git commands to generate.