From: Peter Rabbitson Date: Wed, 7 May 2008 15:25:41 +0000 (+0000) Subject: Correct order of BEGIN/use so that skip_all does not produce failures X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14e3877106bdd49eb74a4b86c2efe4aeb5c114e5;p=dbsrgits%2FDBIx-Class-Historic.git Correct order of BEGIN/use so that skip_all does not produce failures --- diff --git a/t/cdbi-t/set_to_undef.t b/t/cdbi-t/set_to_undef.t index bad9919..75e0ee6 100644 --- a/t/cdbi-t/set_to_undef.t +++ b/t/cdbi-t/set_to_undef.t @@ -2,7 +2,6 @@ use strict; use Test::More; -use Test::NoWarnings; BEGIN { eval "use DBIx::Class::CDBICompat;"; @@ -12,6 +11,8 @@ BEGIN { plan tests => 1; } +use Test::NoWarnings; + { package Thing;