Commit e334d3db authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

scm: mercurial: unit test for named branches at adapter (#7246).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4875 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 944293bb
......@@ -228,6 +228,18 @@ begin
assert_equal tm, @adapter.tagmap
end
def test_branches
assert_equal ['default', 'branch (1)[2]&,%.-3_4', 'test-branch-00'],
@adapter.branches
end
def test_branchmap
bm = { 'default' => '4cddb4e45f52',
'branch (1)[2]&,%.-3_4' => '933ca60293d7',
'test-branch-00' => '3a330eb32958' }
assert_equal bm, @adapter.branchmap
end
private
def test_hgversion_for(hgversion, version)
......
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