File tree Expand file tree Collapse file tree 4 files changed +16
-8
lines changed Expand file tree Collapse file tree 4 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ use Test::More qw/no_plan/;
8
8
use File::Spec;
9
9
10
10
BEGIN {
11
- my $coretests = File::Spec-> catpath(
12
- (File::Spec-> splitpath($0 ))[0,1], ' coretests.pm'
11
+ my $coretests = File::Spec-> rel2abs(
12
+ File::Spec-> catpath(
13
+ (File::Spec-> splitpath($0 ))[0,1], ' coretests.pm'
14
+ )
13
15
);
14
16
require $coretests ;
15
17
use_ok(' version::vpp' , 0.9917);
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ use Test::More qw/no_plan/;
8
8
use File::Spec;
9
9
10
10
BEGIN {
11
- my $coretests = File::Spec-> catpath(
12
- (File::Spec-> splitpath($0 ))[0,1], ' coretests.pm'
11
+ my $coretests = File::Spec-> rel2abs(
12
+ File::Spec-> catpath(
13
+ (File::Spec-> splitpath($0 ))[0,1], ' coretests.pm'
14
+ )
13
15
);
14
16
require $coretests ;
15
17
use_ok(' version' , 0.9917);
Original file line number Diff line number Diff line change @@ -9,8 +9,10 @@ use File::Spec;
9
9
use File::Temp qw/ tempfile/ ;
10
10
11
11
BEGIN {
12
- my $coretests = File::Spec-> catpath(
13
- (File::Spec-> splitpath($0 ))[0,1], ' coretests.pm'
12
+ my $coretests = File::Spec-> rel2abs(
13
+ File::Spec-> catpath(
14
+ (File::Spec-> splitpath($0 ))[0,1], ' coretests.pm'
15
+ )
14
16
);
15
17
require $coretests ;
16
18
use_ok(" version" , 0.9917);
Original file line number Diff line number Diff line change @@ -8,8 +8,10 @@ use Test::More qw/no_plan/;
8
8
use File::Spec;
9
9
10
10
BEGIN {
11
- my $coretests = File::Spec-> catpath(
12
- (File::Spec-> splitpath($0 ))[0,1], ' coretests.pm'
11
+ my $coretests = File::Spec-> rel2abs(
12
+ File::Spec-> catpath(
13
+ (File::Spec-> splitpath($0 ))[0,1], ' coretests.pm'
14
+ )
13
15
);
14
16
require $coretests ;
15
17
}
You can’t perform that action at this time.
0 commit comments