1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 14:19:10 -04:00

Fixed t/12* to make Test::NoWarnings optional

This commit is contained in:
Max Maischein 2009-04-05 19:48:09 +00:00
parent 5172c82430
commit df0e738393

View file

@ -9,8 +9,9 @@ BEGIN {
$^W = 1;
}
use Test::More tests => 16;
use Test::NoWarnings;
my $have_nowarnings;
BEGIN { eval 'use Test::NoWarnings; $have_nowarnings = 1' };
use Test::More tests => 15+($have_nowarnings || 0);
use t::lib::Test;
#