Fix test for Commit->diff.
Zachary Stevens [Sat, 26 Jun 2010 18:53:18 +0000 (19:53 +0100)]
t/02git_object.t

index e85197b..5b4eac8 100644 (file)
@@ -58,8 +58,6 @@ my $commit_obj = Gitalist::Git::Object::Commit->new(
 );
 isa_ok($commit_obj, 'Gitalist::Git::Object::Commit', "commit object");
 my ($tree, $patch) = $commit_obj->diff(
-    parent => undef,
-    filename => undef,
     patch => 1,
 );
 $patch = $patch->[0];