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:
Toshi MARUYAMA
2019-07-29 12:47:01 +00:00
parent 00d3fa02e2
commit ec4177a2f3
2 changed files with 1 additions and 2 deletions

View File

@@ -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.

View File

@@ -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