Fix test for Commit->diff.
[catagits/Gitalist.git] / 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];