#!perl -Tw use warnings; use strict; use Test::More tests => 4; BEGIN { use_ok( 'HTML::Lint' ); } my $lint = HTML::Lint->new(); isa_ok( $lint, "HTML::Lint" ); $lint->parse( '
", "Got expected error" ); is( scalar @errors, 0, "No more errors" ); __DATA__ This doesn't test the error finding as much as the where() method. It fixes the following bug: Date: Mon, 22 Dec 2003 22:07:54 -0800 From: Adam Monsen