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:
parent
7f70d2faaa
commit
c94426d21e
|
@ -218,7 +218,8 @@ begin
|
||||||
revs1 = []
|
revs1 = []
|
||||||
@adapter.revisions('', nil, nil,
|
@adapter.revisions('', nil, nil,
|
||||||
{:reverse => true,
|
{:reverse => true,
|
||||||
:includes => ['899a15dba03a3b350b89c3f537e4bbe02a03cdc9']}) do |rev|
|
:includes => ['899a15dba03a3b350b89c3f537e4bbe02a03cdc9'],
|
||||||
|
:excludes => []}) do |rev|
|
||||||
revs1 << rev
|
revs1 << rev
|
||||||
end
|
end
|
||||||
assert_equal 2, revs1.length
|
assert_equal 2, revs1.length
|
||||||
|
|
Loading…
Reference in New Issue