Correct order of BEGIN/use so that skip_all does not produce failures
[dbsrgits/DBIx-Class.git] / t / cdbi-t / set_to_undef.t
index bad9919..75e0ee6 100644 (file)
@@ -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;