mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00: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:
parent
00d3fa02e2
commit
ec4177a2f3
@ -40,7 +40,6 @@ Layout/AlignArray:
|
||||
- 'app/models/setting.rb'
|
||||
- 'lib/redmine/default_data/loader.rb'
|
||||
- 'test/functional/issues_controller_test.rb'
|
||||
- 'test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb'
|
||||
- 'test/unit/repository_bazaar_test.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
|
||||
@ -80,7 +80,7 @@ class MercurialAdapterTest < ActiveSupport::TestCase
|
||||
|
||||
def test_info
|
||||
[REPOSITORY_PATH, REPOSITORY_PATH + "/",
|
||||
REPOSITORY_PATH + "//"].each do |repo|
|
||||
REPOSITORY_PATH + "//"].each do |repo|
|
||||
adp = Redmine::Scm::Adapters::MercurialAdapter.new(repo)
|
||||
repo_path = adp.info.root_url.gsub(/\\/, "/")
|
||||
assert_equal REPOSITORY_PATH, repo_path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user