From eab671320aa28e7785d010df267d71c28f2af5fc Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Thu, 22 Oct 2020 02:34:53 +0000 Subject: [PATCH] Fix RuboCop offense Style/RedundantCapitalW due to r20154 (#34142). git-svn-id: http://svn.redmine.org/redmine/trunk@20155 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/query_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index 7be1e799c..93f9af180 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -1953,7 +1953,7 @@ class QueryTest < ActiveSupport::TestCase count_by_group = q.result_count_by_group assert_kind_of Hash, count_by_group assert_equal %w(NilClass User), count_by_group.keys.collect {|k| k.class.name}.uniq.sort - assert_equal %W(Integer), count_by_group.values.collect {|k| k.class.name}.uniq + assert_equal %w(Integer), count_by_group.values.collect {|k| k.class.name}.uniq assert count_by_group.has_key?(User.find(3)) end @@ -1962,7 +1962,7 @@ class QueryTest < ActiveSupport::TestCase count_by_group = q.result_count_by_group assert_kind_of Hash, count_by_group assert_equal %w(NilClass String), count_by_group.keys.collect {|k| k.class.name}.uniq.sort - assert_equal %W(Integer), count_by_group.values.collect {|k| k.class.name}.uniq + assert_equal %w(Integer), count_by_group.values.collect {|k| k.class.name}.uniq assert count_by_group.has_key?('MySQL') end @@ -1971,7 +1971,7 @@ class QueryTest < ActiveSupport::TestCase count_by_group = q.result_count_by_group assert_kind_of Hash, count_by_group assert_equal %w(Date NilClass), count_by_group.keys.collect {|k| k.class.name}.uniq.sort - assert_equal %W(Integer), count_by_group.values.collect {|k| k.class.name}.uniq + assert_equal %w(Integer), count_by_group.values.collect {|k| k.class.name}.uniq end def test_issue_count_with_nil_group_only -- 2.39.5