Avoid tests converting @INC to abs paths where no longer necessary.
authorNicholas Clark <nick@ccl4.org>
Tue, 5 Jun 2012 14:07:40 +0000 (16:07 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 18 Jun 2012 12:15:41 +0000 (14:15 +0200)
As find_git_or_skip() no longer changes directory, no need to make paths in
@INC absolute in the various tests that use it.

t/porting/authors.t
t/porting/manifest.t
t/porting/pending-author.t

index 9b9ba7c..bc69e3a 100644 (file)
@@ -4,7 +4,7 @@
 BEGIN {
     @INC = '..' if -f '../TestInit.pm';
 }
-use TestInit qw(T A); # T is chdir to the top level, A makes paths absolute
+use TestInit qw(T); # T is chdir to the top level
 use strict;
 
 require 't/test.pl';
index 068540c..ea4fe83 100644 (file)
@@ -5,7 +5,7 @@
 BEGIN {
     @INC = '..' if -f '../TestInit.pm';
 }
-use TestInit qw(T A); # T is chdir to the top level, A makes paths absolute
+use TestInit qw(T); # T is chdir to the top level
 
 require 't/test.pl';
 
index e6240fb..0cb4054 100644 (file)
@@ -23,7 +23,7 @@
 BEGIN {
     @INC = '..' if -f '../TestInit.pm';
 }
-use TestInit qw(T A); # T is chdir to the top level, A makes paths absolute
+use TestInit qw(T); # T is chdir to the top level
 use strict;
 
 require 't/test.pl';