X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flibdirs-perl.t;h=4e7ef2c78aff2075082748235eaeea93f81535ee;hb=afd7c030950d8b1b04c659d8a9cff186112a23c4;hp=be60cdb02dc807e2ab76daf511f24750d9b3c0ce;hpb=9d42b191ba6995b4f2429ee76bf7e56809eca8df;p=scpubgit%2FSystem-Introspector.git diff --git a/t/libdirs-perl.t b/t/libdirs-perl.t index be60cdb..4e7ef2c 100644 --- a/t/libdirs-perl.t +++ b/t/libdirs-perl.t @@ -2,18 +2,18 @@ use strictures 1; use Test::More; use FindBin; -use System::Introspector::LibDirs::Perl; +use System::Introspector::Probe::LibDirs::Perl; my $dir = "$FindBin::Bin/data/libdir/perl"; no warnings 'redefine'; -*System::Introspector::LibDirs::Perl::_open_locate_libdirs_pipe = sub { +*System::Introspector::Probe::LibDirs::Perl::_open_locate_libdirs_pipe = sub { my $output = "$dir/lib/perl5\n"; open my $fh, '<', \$output; return $fh; }; -my $probe = System::Introspector::LibDirs::Perl->new( +my $probe = System::Introspector::Probe::LibDirs::Perl->new( root => $dir, ); my $data = $probe->gather;