Commit 62ede230 authored by tmaruyama's avatar tmaruyama

scm: git: add explicit :excludes option to calling revision method in...

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: https://svn.redmine.org/redmine/trunk@8822 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4fb16031
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment