diff options
author | Go MAEDA <maeda@farend.jp> | 2024-08-12 08:36:05 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-08-12 08:36:05 +0000 |
commit | 6e21ae720909f9980e58c9411fb9ed8a81f06833 (patch) | |
tree | cdf11a115134b45344fe180f829c1686981b47b1 /test/unit | |
parent | b224d878c33d24df81650667d18035652a18911f (diff) | |
download | redmine-6e21ae720909f9980e58c9411fb9ed8a81f06833.tar.gz redmine-6e21ae720909f9980e58c9411fb9ed8a81f06833.zip |
Fix RuboCop offense Layout/SpaceAfterComma, one of the offenses enabled in rubocop-rails-omakase (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22953 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/attachment_test.rb | 2 | ||||
-rw-r--r-- | test/unit/lib/redmine/field_format/version_field_format_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/attachment_test.rb b/test/unit/attachment_test.rb index b3e813be1..1b292b9bf 100644 --- a/test/unit/attachment_test.rb +++ b/test/unit/attachment_test.rb @@ -467,7 +467,7 @@ class AttachmentTest < ActiveSupport::TestCase assert( Attachment.update_attachments( attachments, - {2 => {:filename => 'newname?.txt'},} + {2 => {:filename => 'newname?.txt'}} ) ) attachment = Attachment.find(2) diff --git a/test/unit/lib/redmine/field_format/version_field_format_test.rb b/test/unit/lib/redmine/field_format/version_field_format_test.rb index 6ca119775..bd9c57ce7 100644 --- a/test/unit/lib/redmine/field_format/version_field_format_test.rb +++ b/test/unit/lib/redmine/field_format/version_field_format_test.rb @@ -109,7 +109,7 @@ class Redmine::VersionFieldFormatTest < ActionView::TestCase def test_cast_value_should_not_raise_error_when_array_contains_value_casted_to_nil field = IssueCustomField.new(:field_format => 'version') assert_nothing_raised do - field.cast_value([1,2, 42]) + field.cast_value([1, 2, 42]) end end |