use Carp (); # Carp is not used in the test, but we want to have it loaded for proper %INC comparison
# a dummy test which lazy-loads more modules (so we can compare INC below)
-ok (1);
+is_deeply([], []);
# record contents of %INC - makes sure there are no extra deps slipping into
# Opt::Dep.
# to build the optional requirements
BEGIN {
$ENV{DBICTEST_PG_DSN} = '1';
- $ENV{DBICTEST_ORA_DSN} = undef;
+ delete $ENV{DBICTEST_ORA_DSN};
}
use_ok 'DBIx::Class::Optional::Dependencies';
is_deeply(
DBIx::Class::Optional::Dependencies->req_list_for('test_rdbms_pg'),
{
- 'Sys::SigAction' => '0',
'DBD::Pg' => '2.009002',
}, 'optional dependencies for testing Postgres with ENV var ok');