From 83d5633a5f772bfbae51ad2c0e3e31d17cbe6bc1 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 25 Sep 2019 11:18:59 +0000 Subject: code cleanup: rubocop: fix Style/TrailingCommaInArguments in test/unit/issue_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18529 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .rubocop_todo.yml | 7 ------- test/unit/issue_test.rb | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index f5df4f394..72acf4841 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1578,13 +1578,6 @@ Style/SymbolProc: Style/TernaryParentheses: Enabled: false -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyleForMultiline. -# SupportedStylesForMultiline: comma, consistent_comma, no_comma -Style/TrailingCommaInArguments: - Exclude: - - 'test/unit/issue_test.rb' - # Cop supports --auto-correct. # Configuration parameters: EnforcedStyleForMultiline. # SupportedStylesForMultiline: comma, consistent_comma, no_comma diff --git a/test/unit/issue_test.rb b/test/unit/issue_test.rb index 2d874138f..5ba7a6d4c 100644 --- a/test/unit/issue_test.rb +++ b/test/unit/issue_test.rb @@ -1419,7 +1419,7 @@ class IssueTest < ActiveSupport::TestCase end def test_copy_should_clear_subtasks_target_version_if_locked_or_closed - version = Version.new(:project => Project.find(1), :name => '2.1',) + version = Version.new(:project => Project.find(1), :name => '2.1') version.save! parent = Issue.generate! -- cgit v1.2.3