Commit c16a4986 authored by tmaruyama's avatar tmaruyama
Browse files

scm: git: use block to call revisions() in unit adapter test_revisions_invalid_rev() (#7146).

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 46e4a021
......@@ -188,11 +188,13 @@ begin
def test_revisions_invalid_rev
revs1 = nil
revs1 = @adapter.revisions('',
revs1 = []
{:reverse => true})
{:reverse => true}) do |rev|
revs1 << rev
assert_equal [], revs1
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