From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 12:57:39 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/SpaceInsideParens in test/unit/query_test.rb X-Git-Tag: 4.2.0~1393 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=17e05f35902b5f6bff8ee5b2666b9d8cd739985d;p=redmine.git cleanup: rubocop: fix Layout/SpaceInsideParens in test/unit/query_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19247 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 33ba853c3..a409a4634 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -310,7 +310,6 @@ Layout/SpaceInsideParens: - 'test/unit/changeset_test.rb' - 'test/unit/issue_subtasking_test.rb' - 'test/unit/lib/redmine/export/pdf_test.rb' - - 'test/unit/query_test.rb' # Cop supports --auto-correct. Layout/SpaceInsidePercentLiteralDelimiters: diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index 3ccfc753a..df6c61551 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -1851,7 +1851,7 @@ class QueryTest < ActiveSupport::TestCase p = Project.generate! do |project| project.status = Project::STATUS_ARCHIVED end - i = Issue.generate!( :project => p, :tracker => p.trackers.first ) + i = Issue.generate!(:project => p, :tracker => p.trackers.first) assert !i.visible? test_issue_count