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:
a3d8330
)
Relax tests
author
Marius Gavrilescu
<marius@ieval.ro>
Sat, 7 Apr 2018 10:36:46 +0000
(13:36 +0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sat, 7 Apr 2018 10:36:46 +0000
(13:36 +0300)
t/50-network.t
patch
|
blob
|
blame
|
history
diff --git
a/t/50-network.t
b/t/50-network.t
index 7392c85c8f4727f6f4268f66731ce2d9321b4357..32574b500e772450b2ed389203e8302a13d30c5d 100644
(file)
--- a/
t/50-network.t
+++ b/
t/50-network.t
@@
-11,7
+11,8
@@
my @results;
cmp_ok @results, '>=', 1, 'vimeo';
@results = off 'https://vimeo.com/45196609', video_file => 1;
cmp_ok @results, '>=', 1, 'vimeo';
@results = off 'https://vimeo.com/45196609', video_file => 1;
-
is @results, 2
, 'vimeo, video_file => 1';
+
cmp_ok @results, '>=', 1
, 'vimeo, video_file => 1';
-like $results[1], qr/\.mp4/, 'video URL contains ".mp4"';
-unlike $results[0], qr/offwarning/, 'audio URL doesn\'t contain "offwarning"';
+my $allresults = join ' ', @results;
+like $allresults, qr/\.mp4/, 'some URL contains ".mp4"';
+unlike $allresults, qr/offwarning/, 'no URL contains "offwarning"';
This page took
0.010239 seconds
and
4
git commands to generate.