X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=t%2F50-network.t;h=20b07e63ad55a7541b799bb035273a416efe1428;hb=000e34969f016810f1455865a926ad62d8f810c2;hp=b940cc8d6f45bb744679d36de3b4084fb9421b94;hpb=1b79c06ab38daedf93c46dcd1731e4394fdbcfdd;p=www-offliberty.git diff --git a/t/50-network.t b/t/50-network.t index b940cc8..20b07e6 100644 --- a/t/50-network.t +++ b/t/50-network.t @@ -6,15 +6,15 @@ use Test::More; use WWW::Offliberty qw/off/; if ($ENV{NETWORK_TEST}) { - plan tests => 2; + plan tests => 2; - my @results; + my @results; - @results = off "http://youtube.com/watch?v=Tj75Arhq5ho"; - is @results, 1, 'youtube'; + @results = off "http://youtube.com/watch?v=Tj75Arhq5ho"; + is @results, 1, 'youtube'; - @results = off "http://youtube.com/watch?v=Tj75Arhq5ho", video_file => 1; - is @results, 2, 'youtube, video_file => 1'; + @results = off "http://youtube.com/watch?v=Tj75Arhq5ho", video_file => 1; + is @results, 2, 'youtube, video_file => 1'; } else { - plan skip_all => '$ENV{NETWORK_TEST} not true'; + plan skip_all => '$ENV{NETWORK_TEST} not true'; }