X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F39load_namespaces_2.t;h=d9b88fa9f56e9761459f931605e2e131144b3def;hb=0488c7e1294791e01dc75dfe633454d0f4201384;hp=6daf05f9e456388e374c71a404b38a106be86c0c;hpb=c87014e8134cf934b0dc4b81186a41ee6cde4037;p=dbsrgits%2FDBIx-Class.git diff --git a/t/39load_namespaces_2.t b/t/39load_namespaces_2.t index 6daf05f..d9b88fa 100644 --- a/t/39load_namespaces_2.t +++ b/t/39load_namespaces_2.t @@ -1,10 +1,9 @@ -#!/usr/bin/perl - use strict; use warnings; use Test::More; -unshift(@INC, './t/lib'); +use lib qw(t/lib); +use DBICTest; # do not remove even though it is not used plan tests => 6; @@ -19,7 +18,7 @@ eval { ); }; ok(!$@) or diag $@; -like($warnings, qr/load_namespaces found ResultSet class C with no corresponding Result class/); +like($warnings, qr/load_namespaces found ResultSet class 'DBICNSTest::RSet::C' with no corresponding Result class/); my $source_a = DBICNSTest->source('A'); isa_ok($source_a, 'DBIx::Class::ResultSource::Table');