Fix incorrect whitespace test outside of checkouts
[dbsrgits/DBIx-Class.git] / t / 100extra_source.t
index b917958..b345ce1 100644 (file)
@@ -1,9 +1,11 @@
+BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) }
+
 use strict;
 use warnings;
 
 use Test::More;
 use Test::Warn;
-use lib qw(t/lib);
+
 use DBICTest;
 
 {
@@ -55,7 +57,7 @@ warnings_like (
     isa_ok ($schema->resultset('Artist'), 'DBIx::Class::ResultSet');
   },
   [
-    qr/DBICTest::Artist already has a source, use register_extra_source for additional sources/
+    qr/DBICTest::Artist already had a registered source which was replaced by this call/
   ],
   'registering source to an existing result warns'
 );