X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Foptional_deps.t;h=0ae8023b72226e262648140fd23a409b53884e5d;hb=5268b1da661134493695d0c8f364b2d094da616e;hp=66f6a6568fc06e82d6ccae9938013f457af4ab7f;hpb=be68095d16b02db81aa1c37dfd6f6595f19d1ac2;p=dbsrgits%2FDBIx-Class.git diff --git a/xt/optional_deps.t b/xt/optional_deps.t index 66f6a65..0ae8023 100644 --- a/xt/optional_deps.t +++ b/xt/optional_deps.t @@ -20,7 +20,7 @@ ok ( (! grep { $_ =~ m|DBIx/Class| } @$inc_before ), 'Nothing DBIC related is ye # 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'; @@ -119,7 +119,7 @@ is_deeply( is_deeply( DBIx::Class::Optional::Dependencies->req_list_for('test_rdbms_pg'), { - 'Sys::SigAction' => '0', + $^O ne 'MSWin32' ? ('Sys::SigAction' => '0') : (), 'DBD::Pg' => '2.009002', }, 'optional dependencies for testing Postgres with ENV var ok');