12.6. Checking good HTMLExample 12-3. examples/www/static_lint.t #!/usr/bin/perl use strict; use warnings; use Test::More tests => 2; use Test::HTML::Lint; use LWP::Simple qw(get); my $home = get 'http://test_server/'; ok $home, 'There is a response'; html_ok $home, 'HTML OK'; HTML::Lint $ perl static_lint.t ok 1 - There is a response ok 2 - HTML OK 1..2
|
Follow me: