mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 12:31:40 +01:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user