mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
More Test::NoWarnings
This commit is contained in:
parent
2ac8ee6ee9
commit
a17515dbdc
2 changed files with 6 additions and 7 deletions
|
@ -6,8 +6,9 @@ BEGIN {
|
|||
$^W = 1;
|
||||
}
|
||||
|
||||
use Test::More tests => 6;
|
||||
use t::lib::Test;
|
||||
use Test::More tests => 7;
|
||||
use Test::NoWarnings;
|
||||
|
||||
my $dbh = DBI->connect('dbi:SQLite:dbname=:memory:',undef,undef,{RaiseError => 1});
|
||||
|
||||
|
|
|
@ -6,17 +6,15 @@ BEGIN {
|
|||
$^W = 1;
|
||||
}
|
||||
|
||||
use Test::More tests => 26;
|
||||
use t::lib::Test;
|
||||
use Test::More tests => 27;
|
||||
use Test::NoWarnings;
|
||||
|
||||
my $dbh = DBI->connect('dbi:SQLite:foo', '', '',
|
||||
{
|
||||
my $dbh = connect_ok(
|
||||
RaiseError => 1,
|
||||
PrintError => 0,
|
||||
AutoCommit => 0,
|
||||
});
|
||||
|
||||
ok($dbh);
|
||||
);
|
||||
|
||||
ok($dbh->do("CREATE TABLE Blah ( id INTEGER, val VARCHAR )"));
|
||||
ok($dbh->commit);
|
||||
|
|
Loading…
Add table
Reference in a new issue