diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-12 20:00:50 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-12-12 20:00:50 +0900 |
commit | 2b35826389005bdb0af85a4ebb1f0ec213174d13 (patch) | |
tree | 9cbe8da4d50bd291d1f9cd5b7c6a1bd464470914 /activesupport/test/core_ext/array | |
parent | 38b2904f2c9d89868e96edd71c5f3143ca235a88 (diff) | |
download | rails-2b35826389005bdb0af85a4ebb1f0ec213174d13.tar.gz rails-2b35826389005bdb0af85a4ebb1f0ec213174d13.tar.bz2 rails-2b35826389005bdb0af85a4ebb1f0ec213174d13.zip |
Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed more
Follow up of #31390.
Diffstat (limited to 'activesupport/test/core_ext/array')
-rw-r--r-- | activesupport/test/core_ext/array/grouping_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/array/grouping_test.rb b/activesupport/test/core_ext/array/grouping_test.rb index da9d4963d8..c182b91826 100644 --- a/activesupport/test/core_ext/array/grouping_test.rb +++ b/activesupport/test/core_ext/array/grouping_test.rb @@ -116,7 +116,7 @@ class SplitTest < ActiveSupport::TestCase def test_split_with_block a = (1..10).to_a assert_equal [[1, 2], [4, 5], [7, 8], [10]], a.split { |i| i % 3 == 0 } - assert_equal [1, 2, 3, 4, 5, 6, 7, 8, 9 , 10], a + assert_equal [1, 2, 3, 4, 5, 6, 7, 8, 9, 10], a end def test_split_with_edge_values |