Add author test for whitespace errors and make whitespace more consistent
[dbsrgits/DBIx-Class-Schema-Loader.git] / t / backcompat / 0.04006 / 10sqlite_common.t
CommitLineData
406a97c2 1use DBIx::Class::Schema::Loader::Optional::Dependencies
2 -skip_all_without => 'test_backcompat';
3
9a95164d 4use strict;
f8c2ca5e 5use warnings;
3c10a10f 6use lib qw(t/backcompat/0.04006/lib);
9a95164d 7use dbixcsl_common_tests;
c213fd3d 8use dbixcsl_test_dir qw/$tdir/;
9
1c94fb11 10use Test::More;
9a95164d 11
12eval { require DBD::SQLite };
13my $class = $@ ? 'SQLite2' : 'SQLite';
14
406a97c2 15dbixcsl_common_tests->new(
9a95164d 16 vendor => 'SQLite',
17 auto_inc_pk => 'INTEGER NOT NULL PRIMARY KEY',
494e0205 18 dsn => "dbi:$class:dbname=$tdir/sqlite_test.db",
9a95164d 19 user => '',
20 password => '',
406a97c2 21)->run_tests;
9a95164d 22
23END {
494e0205 24 unlink "$tdir/sqlite_test.db" if $ENV{SCHEMA_LOADER_TESTS_BACKCOMPAT};
9a95164d 25}