Re: Testing failure in Test::Builder-based modules

2002-08-03 Thread Adrian Howard
On Saturday, August 3, 2002, at 09:56 pm, Andy Lester wrote: > I'm adding some tests to Test::HTML::Lint, and one of the things that I > want to check for is that "html_ok(undef)" fails. Remember that > html_ok() is a T::B-based module. [snip] Take a look at Test::Builder::Tester. Something li

Testing failure in Test::Builder-based modules

2002-08-03 Thread Andy Lester
I'm adding some tests to Test::HTML::Lint, and one of the things that I want to check for is that "html_ok(undef)" fails. Remember that html_ok() is a T::B-based module. The best I've got so far is this: --cut-- use Test::More tests => 4; use Test::HTML::Lint; BEGIN { use_ok( 'Test::HTML::Lint