Force xt/ tests to run on anything involving a create_distdir
[dbsrgits/DBIx-Class.git] / t / 103many_to_many_warning.t
index 36d41a8..f2944b4 100644 (file)
@@ -3,12 +3,13 @@ use warnings;
 use Test::More;
 
 use lib qw(t/lib);
+use DBICTest;
 
 plan tests => 4;
 my $exp_warn = qr/The many-to-many relationship 'bars' is trying to create/;
 
 {
-  my @w; 
+  my @w;
   local $SIG{__WARN__} = sub { $_[0] =~ $exp_warn ? push @w, $_[0] : warn $_[0] };
   my $code = gen_code ( suffix => 1 );
   eval "$code";
@@ -19,7 +20,7 @@ my $exp_warn = qr/The many-to-many relationship 'bars' is trying to create/;
 }
 
 {
-  my @w; 
+  my @w;
   local $SIG{__WARN__} = sub { $_[0] =~ $exp_warn ? push @w, $_[0] : warn $_[0] };
 
   my $code = gen_code ( suffix => 2 );