X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fstorage%2Ferror.t;fp=t%2Fstorage%2Ferror.t;h=e8996fa87083ab5d2fb12c799add50c0b681f473;hb=08a8d8f1b8a69ea29bcceb9f399214943a34905c;hp=3cb7a28531b1de4cc93ceef01c009118b7d6d83f;hpb=439a7283a981f27a56e745d99e456fc50a5a018f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/storage/error.t b/t/storage/error.t index 3cb7a28..e8996fa 100644 --- a/t/storage/error.t +++ b/t/storage/error.t @@ -7,7 +7,7 @@ use Test::More; use Test::Warn; use Test::Exception; - +use DBICTest::Util 'PEEPEENESS'; use DBICTest; for my $conn_args ( @@ -95,9 +95,8 @@ throws_ok ( # exception fallback: SKIP: { - if ( !!DBIx::Class::_ENV_::PEEPEENESS ) { - skip "Your perl version $] appears to leak like a sieve - skipping garbage collected \$schema test", 1; - } + skip "Your perl version $] appears to leak like a sieve - skipping garbage collected \$schema test", 1 + if PEEPEENESS; undef ($schema); throws_ok (