Michael G Schwern
/
Test-Simple-2.00_06
/
TB2::NoWarnings
NAME
TB2::NoWarnings - Test there are no warnings using TB2.
SYNOPSIS
use TB2::NoWarnings;
use Test::Simple tests => 2;
ok(1);
ok(2);
warn "Blah"; # failure
DESCRIPTION
This demonstrates how to write a test library which catches
CAVEATS
It must be run before the plan is set. It should throw an error if the plan is already set, but it doesn't.