File: test_html.pl

package info (click to toggle)
libtest-harness-perl 3.52-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,764 kB
  • sloc: perl: 18,954; sh: 18; makefile: 7
file content (14 lines) | stat: -rwxr-xr-x 222 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl

use strict;
use warnings;

use Test::More tests => 1;
use Test::WWW::Mechanize;

my $mech = Test::WWW::Mechanize->new;
my $url  = shift;
$mech->get_ok(
    $url,
    "We should be able to fetch ($url)"
);