mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +01:00
rubocop: fix Layout/AlignArray of test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18332 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -40,7 +40,6 @@ Layout/AlignArray:
|
|||||||
- 'app/models/setting.rb'
|
- 'app/models/setting.rb'
|
||||||
- 'lib/redmine/default_data/loader.rb'
|
- 'lib/redmine/default_data/loader.rb'
|
||||||
- 'test/functional/issues_controller_test.rb'
|
- 'test/functional/issues_controller_test.rb'
|
||||||
- 'test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb'
|
|
||||||
- 'test/unit/repository_bazaar_test.rb'
|
- 'test/unit/repository_bazaar_test.rb'
|
||||||
|
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ class MercurialAdapterTest < ActiveSupport::TestCase
|
|||||||
|
|
||||||
def test_info
|
def test_info
|
||||||
[REPOSITORY_PATH, REPOSITORY_PATH + "/",
|
[REPOSITORY_PATH, REPOSITORY_PATH + "/",
|
||||||
REPOSITORY_PATH + "//"].each do |repo|
|
REPOSITORY_PATH + "//"].each do |repo|
|
||||||
adp = Redmine::Scm::Adapters::MercurialAdapter.new(repo)
|
adp = Redmine::Scm::Adapters::MercurialAdapter.new(repo)
|
||||||
repo_path = adp.info.root_url.gsub(/\\/, "/")
|
repo_path = adp.info.root_url.gsub(/\\/, "/")
|
||||||
assert_equal REPOSITORY_PATH, repo_path
|
assert_equal REPOSITORY_PATH, repo_path
|
||||||
|
|||||||
Reference in New Issue
Block a user