X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F15-failures.t;h=765298955f82ce29d1857ff945a9d983ed6a2b45;hb=20ecc90aa6c17a07fd1200d0bf72d5918e53e106;hp=d0711889b3bcf68cbc6260120b66dc46d6c016a9;hpb=f555dbe5fe9b6a6a0a9aba59f9f99dcdf2693f09;p=perl%2Fmodules%2Frgit.git diff --git a/t/15-failures.t b/t/15-failures.t index d071188..7652989 100644 --- a/t/15-failures.t +++ b/t/15-failures.t @@ -3,8 +3,8 @@ use strict; use warnings; -use Cwd qw/cwd/; -use File::Spec::Functions qw/catdir/; +use Cwd (); # cwd +use File::Spec (); # catdir use Test::More tests => 42; @@ -173,8 +173,8 @@ is_deeply $res, [ ], '$arc->repos: cached ok'; use App::Rgit::Repository; -my $cwd = cwd; -my $t = catdir($cwd, 't'); +my $cwd = Cwd::cwd; +my $t = File::Spec->catdir($cwd, 't'); chdir $t or die "chdir($t): $!"; $res = eval {