Institute a central "load this first in testing" package
[dbsrgits/DBIx-Class.git] / xt / extra / diagnostics / many_to_many_warning.t
index 2c42091..c416e41 100644 (file)
@@ -1,8 +1,10 @@
+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
+
 use strict;
 use warnings;
 use Test::More;
 
-use lib qw(t/lib);
+
 use DBICTest;
 
 my $exp_warn = qr/The many-to-many relationship 'bars' is trying to create/;