From: Zachary Stevens Date: Sun, 27 Jun 2010 14:39:40 +0000 (+0100) Subject: Test fixup - Repository->list_tree is gone. X-Git-Tag: 0.002007~22 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FGitalist.git;a=commitdiff_plain;h=887b6c70bd7249d0130dbd2d9dacc417385307a1 Test fixup - Repository->list_tree is gone. --- diff --git a/t/02git_Repository.t b/t/02git_Repository.t index 5d0b2e2..cc69734 100644 --- a/t/02git_Repository.t +++ b/t/02git_Repository.t @@ -74,7 +74,7 @@ is($obj2->content, "foo\n", 'sha_by_path obj content is correct'); like($proj->head_hash('HEAD'), qr/^([0-9a-fA-F]{40})$/, 'head_hash'); { - my @tree = $proj->list_tree('3bc0634310b9c62222bb0e724c11ffdfb297b4ac'); + my @tree = @{$obj3->tree}; is(scalar @tree, 1, "tree array contains one entry."); isa_ok($tree[0], 'Gitalist::Git::Object', 'tree element 0'); }