From ec4177a2f39823bb4d84cf117a93cd36c79077ba Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 29 Jul 2019 12:47:01 +0000 Subject: [PATCH] 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 --- .rubocop_todo.yml | 1 - test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 19b51f613..54085a70b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -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. 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 6d44a9f43..1c2a597da 100644 --- a/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb @@ -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 -- 2.39.5