##// END OF EJS Templates
scm: mercurial: fix unit lib test_info test fails on Windows....
Toshi MARUYAMA -
r4742:17f1b1d0bc0b
parent child
Show More
@@ -47,7 +47,8 begin
47 [REPOSITORY_PATH, REPOSITORY_PATH + "/",
47 [REPOSITORY_PATH, REPOSITORY_PATH + "/",
48 REPOSITORY_PATH + "//"].each do |repo|
48 REPOSITORY_PATH + "//"].each do |repo|
49 adp = Redmine::Scm::Adapters::MercurialAdapter.new(repo)
49 adp = Redmine::Scm::Adapters::MercurialAdapter.new(repo)
50 assert_equal REPOSITORY_PATH, adp.info.root_url
50 repo_path = adp.info.root_url.gsub(/\\/, "/")
51 assert_equal REPOSITORY_PATH, repo_path
51 assert_equal '16', adp.info.lastrev.revision
52 assert_equal '16', adp.info.lastrev.revision
52 assert_equal '4cddb4e45f52',adp.info.lastrev.scmid
53 assert_equal '4cddb4e45f52',adp.info.lastrev.scmid
53 end
54 end
General Comments 0
You need to be logged in to leave comments. Login now