Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 2.10
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.337 kb
#!perl -Tw
use warnings;
use strict;
use Test::More tests => 4;
use Test::HTML::Lint;
BEGIN {
use_ok( 'Test::HTML::Lint' );
}
my $chunk = "<P>This is a fine chunk of code</P>";
TODO: { # undef should fail
local $TODO = "This test should NOT succeed";
html_ok( undef );
}
html_ok( '' ); # Blank is OK
html_ok( $chunk );
Jump to Line
Something went wrong with that request. Please try again.