]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - t/15-failures.t
Less namespace pollution
[perl/modules/rgit.git] / t / 15-failures.t
index d0711889b3bcf68cbc6260120b66dc46d6c016a9..765298955f82ce29d1857ff945a9d983ed6a2b45 100644 (file)
@@ -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 {