scm: git: add explicit :excludes option to calling revision method in "test_revisions_includes_master_two_revs_from_origin" of unit lib test (#8857)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8822 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-02-09 15:07:11 +00:00
parent 7f70d2faaa
commit c94426d21e
1 changed files with 2 additions and 1 deletions

View File

@ -218,7 +218,8 @@ begin
revs1 = []
@adapter.revisions('', nil, nil,
{:reverse => true,
:includes => ['899a15dba03a3b350b89c3f537e4bbe02a03cdc9']}) do |rev|
:includes => ['899a15dba03a3b350b89c3f537e4bbe02a03cdc9'],
:excludes => []}) do |rev|
revs1 << rev
end
assert_equal 2, revs1.length