summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/scm
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/lib/redmine/scm')
-rw-r--r--test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
index 10a78c4af..cbd67c8fd 100644
--- a/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
+++ b/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
@@ -72,8 +72,8 @@ begin
adp = Redmine::Scm::Adapters::MercurialAdapter.new(repo)
repo_path = adp.info.root_url.gsub(/\\/, "/")
assert_equal REPOSITORY_PATH, repo_path
- assert_equal '28', adp.info.lastrev.revision
- assert_equal '3ae45e2d177d',adp.info.lastrev.scmid
+ assert_equal '31', adp.info.lastrev.revision
+ assert_equal '31eeee7395c8',adp.info.lastrev.scmid
end
end
@@ -257,6 +257,7 @@ begin
def test_branches
assert_equal [
'default',
+ 'test-branch-01',
@branch_char_1,
'branch (1)[2]&,%.-3_4',
@branch_char_0,
@@ -267,10 +268,11 @@ begin
def test_branchmap
bm = {
- 'default' => '3ae45e2d177d',
+ 'default' => '31eeee7395c8',
'test_branch.latin-1' => 'c2ffe7da686a',
'branch (1)[2]&,%.-3_4' => 'afc61e85bde7',
'test-branch-00' => '3a330eb32958',
+ "test-branch-01" => 'ad4dc4f80284',
@branch_char_0 => 'c8d3e4887474',
@branch_char_1 => '7bbf4c738e71',
}