Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ requires "File::Temp" => "0";
requires "File::chdir" => "0";
requires "File::chmod" => "0";
requires "Git::Repository" => "0";
requires "Git::Repository::Plugin::AUTOLOAD" => "0";
requires "HTTP::Tiny" => "0";
requires "LWP::UserAgent" => "0";
requires "List::Pairwise" => "0";
Expand Down
3 changes: 0 additions & 3 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ copyright_holder = Yanick Champoux
[Encoding / bytes ]
encoding = latin-1
match = .*.tar.gz

[Prereqs]
Git::Repository::Plugin::AUTOLOAD=0
8 changes: 4 additions & 4 deletions t/clone.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use Test2::V1 -Pip;

use Git::CPAN::Patch::Command::Clone;
use File::Temp qw/ tempdir /;
use Git::Repository 'AUTOLOAD';
use Git::Repository;
use Test::MockObject;

my $data = {
Expand Down Expand Up @@ -71,12 +71,12 @@ sub test_clone {

$command->run;

like $git->branch( '-a', '--no-color' ) => qr#remotes/cpan/master#,
like $git->run('branch', '-a', '--no-color') => qr#remotes/cpan/master#,
"branch is there";

like $git->tag => qr[v0.4.], "tag is there";
like $git->run('tag') => qr[v0.4.], "tag is there";

my $log = join "\n", $git->log( 'cpan/master' );
my $log = join "\n", $git->run('log', 'cpan/master' );

like $log => qr/Author:\s+Yanick\s+Champoux\s+<yanick\@cpan.org>/, 'author';

Expand Down