From 17e05f35902b5f6bff8ee5b2666b9d8cd739985d Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 12:57:39 +0000 Subject: [PATCH] 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 --- .rubocop_todo.yml | 1 - test/unit/query_test.rb | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.5