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

scm: mercurial: unit test for tags at adapter (#1981).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4873 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 0cdbec47
......@@ -218,6 +218,16 @@ begin
assert_equal @adapter.cat(path, 2), @adapter.cat(path, '400')
end
def test_tags
assert_equal ['tag_test.00', 'tag-init-revision'], @adapter.tags
end
def test_tagmap
tm = { 'tag_test.00' => '6987191f453a',
'tag-init-revision' => '0885933ad4f6' }
assert_equal tm, @adapter.tagmap
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