]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - t/15-failures.t
Really get rid of t/repos
[perl/modules/rgit.git] / t / 15-failures.t
index a25d334d25e7d875fbd2d400f83a0df98a0d4ddf..82f1409cc9ad19257ef53b1c3438671bb82b821f 100644 (file)
@@ -20,27 +20,27 @@ $res = eval { App::Rgit->new(root => $0) };
 is($@,   '',    'App::Rgit->new(): wrong root: does not croak');
 is($res, undef, 'App::Rgit->new(): wrong root: returns undef');
 
-$res = eval { App::Rgit->new(root => 't/repos') };
+$res = eval { App::Rgit->new(root => 't') };
 is($@,   '',    'App::Rgit->new(): no git: does not croak');
 is($res, undef, 'App::Rgit->new(): no git: returns undef');
 
-$res = eval { App::Rgit->new(root => 't/repos', git => $0) };
+$res = eval { App::Rgit->new(root => 't', git => $0) };
 is($@,   '',    'App::Rgit->new(): wrong git: does not croak');
 is($res, undef, 'App::Rgit->new(): wrong git: returns undef');
 
-$res = eval { App::Rgit->new(root => 't/repos', git => 't/bin/git') };
+$res = eval { App::Rgit->new(root => 't', git => 't/bin/git') };
 is($@,       '',          'App::Rgit->new(): no cmd: does not croak');
 isa_ok($res, 'App::Rgit', 'App::Rgit->new(): no cmd: returns an object');
 
-$res = eval { App::Rgit->new(root => 't/repos', git => 't/bin/git', cmd => 'version'); };
+$res = eval { App::Rgit->new(root => 't', git => 't/bin/git', cmd => 'version'); };
 is($@,       '',          'App::Rgit->new(): no args: does not croak');
 isa_ok($res, 'App::Rgit', 'App::Rgit->new(): no args: returns an object');
 
-$res = eval { $res->new(root => 't/repos', git => 't/bin/git', cmd => 'version'); };
+$res = eval { $res->new(root => 't', git => 't/bin/git', cmd => 'version'); };
 is($@,       '',          '$ar->new(): no args: does not croak');
 isa_ok($res, 'App::Rgit', '$ar->new(): no args: returns an object');
 
-$res = eval { App::Rgit::new(undef, root => 't/repos', git => 't/bin/git', cmd => 'version'); };
+$res = eval { App::Rgit::new(undef, root => 't', git => 't/bin/git', cmd => 'version'); };
 is($@,       '',         'undef->App::Rgit::new(): no args: does not croak');
 isa_ok($res, 'App::Rgit','undef->App::Rgit::new(): no args: returns an object');