@@ -12,28 +12,28 @@ use File::Spec;
12
12
BEGIN { use_ok(' Xray::XDI' ) };
13
13
14
14
my $here = dirname($0 );
15
- my $file = File::Spec-> catfile($here , ' ..' , ' ..' , ' ..' , ' baddata' , ' bad_07.xdi' );
15
+ my $file = File::Spec-> catfile($here , ' ..' , ' ..' , ' ..' , ' .. ' , ' baddata' , ' bad_07.xdi' );
16
16
my $xdi = Xray::XDI-> new(file => $file );
17
17
18
18
$xdi -> recommended;
19
19
ok(($xdi -> errorcode>1), ' bad_07.xdi flagged as ok' );
20
20
ok(($xdi -> errormessage =~ m { Column.1} ), ' no column labels' );
21
21
22
- $file = File::Spec-> catfile($here , ' ..' , ' ..' , ' ..' , ' baddata' , ' bad_08.xdi' );
22
+ $file = File::Spec-> catfile($here , ' ..' , ' ..' , ' ..' , ' .. ' , ' baddata' , ' bad_08.xdi' );
23
23
$xdi = Xray::XDI-> new(file => $file );
24
24
25
25
$xdi -> recommended;
26
26
ok(($xdi -> errorcode == 0), ' bad_08.xdi flagged as ok' );
27
27
ok(($xdi -> errormessage =~ m {\A\s *\z } ), ' to few column labels' );
28
28
29
- $file = File::Spec-> catfile($here , ' ..' , ' ..' , ' ..' , ' baddata' , ' bad_09.xdi' );
29
+ $file = File::Spec-> catfile($here , ' ..' , ' ..' , ' ..' , ' .. ' , ' baddata' , ' bad_09.xdi' );
30
30
$xdi = Xray::XDI-> new(file => $file );
31
31
32
32
$xdi -> recommended;
33
33
ok(($xdi -> errorcode == 0), ' bad_09.xdi flagged as ok' );
34
34
ok(($xdi -> errormessage =~ m {\A\s *\z } ), ' to many column labels' );
35
35
36
- $file = File::Spec-> catfile($here , ' ..' , ' ..' , ' ..' , ' baddata' , ' bad_10.xdi' );
36
+ $file = File::Spec-> catfile($here , ' ..' , ' ..' , ' ..' , ' .. ' , ' baddata' , ' bad_10.xdi' );
37
37
$xdi = Xray::XDI-> new(file => $file );
38
38
39
39
$xdi -> recommended;
0 commit comments