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:
f4b0666
)
Change test video *again*
author
Marius Gavrilescu
<marius@ieval.ro>
Sat, 20 May 2017 12:30:28 +0000
(13:30 +0100)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sat, 20 May 2017 12:30:28 +0000
(13:30 +0100)
t/50-network.t
patch
|
blob
|
blame
|
history
diff --git
a/t/50-network.t
b/t/50-network.t
index 2dda6baeb0b7563f375ed4851ce86b4641325cca..98d0c686e125e89a1fd8afa7b2bebff3ba4216cc 100644
(file)
--- a/
t/50-network.t
+++ b/
t/50-network.t
@@
-7,10
+7,10
@@
use Test::More tests => 4;
use WWW::Offliberty qw/off/;
my @results;
use WWW::Offliberty qw/off/;
my @results;
-@results = off "https://youtube.com/watch?v=
pJyQpAiMXkg
";
+@results = off "https://youtube.com/watch?v=
dQw4w9WgXcQ
";
cmp_ok @results, '>=', 1, 'youtube';
cmp_ok @results, '>=', 1, 'youtube';
-@results = off "https://youtube.com/watch?v=
pJyQpAiMXkg
", video_file => 1;
+@results = off "https://youtube.com/watch?v=
dQw4w9WgXcQ
", video_file => 1;
is @results, 2, 'youtube, video_file => 1';
like $results[1], qr/\.mp4/, 'video URL contains ".mp4"';
is @results, 2, 'youtube, video_file => 1';
like $results[1], qr/\.mp4/, 'video URL contains ".mp4"';
This page took
0.011172 seconds
and
4
git commands to generate.