X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fextra%2Finternals%2Fnamespaces_cleaned.t;fp=xt%2Fextra%2Finternals%2Fnamespaces_cleaned.t;h=b8b42b7d7fc4efe2ffd5bd61c3abb35aa55a5bde;hb=c0329273268971824784f239f32c7246e68da9c5;hp=552a81ecf5904289d9b38eea211a5cf37d26a920;hpb=e3be2b6ff05d6794ccd8807af8cb494403690639;p=dbsrgits%2FDBIx-Class.git diff --git a/xt/extra/internals/namespaces_cleaned.t b/xt/extra/internals/namespaces_cleaned.t index 552a81e..b8b42b7 100644 --- a/xt/extra/internals/namespaces_cleaned.t +++ b/xt/extra/internals/namespaces_cleaned.t @@ -1,3 +1,5 @@ +BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) } + BEGIN { if ( "$]" < 5.010) { @@ -16,7 +18,7 @@ BEGIN { # we want to do this here, in the very beginning, before even # warnings/strict are loaded - unshift @INC, 't/lib'; + require DBICTest::Util::OverrideRequire; DBICTest::Util::OverrideRequire::override_global_require( sub { @@ -35,8 +37,6 @@ use warnings; use Test::More; -use lib 't/lib'; - use DBICTest; use File::Find; use File::Spec;