From: Toshi MARUYAMA Date: Sun, 24 Nov 2019 05:25:26 +0000 (+0000) Subject: cleanup: rubocop: fix Layout/IndentFirstHashElement in test/unit/repository_test.rb X-Git-Tag: 4.2.0~1417 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dc95ef738f4aeb4559961e0c345a73f73df4ded5;p=redmine.git cleanup: rubocop: fix Layout/IndentFirstHashElement in test/unit/repository_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19223 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb index d5ba0e6f4..01007cd38 100644 --- a/test/unit/repository_test.rb +++ b/test/unit/repository_test.rb @@ -401,19 +401,23 @@ class RepositoryTest < ActiveSupport::TestCase h1 = {"test_1" => {"test_11" => "test_value_11"}} repo.merge_extra_info(h1) assert_equal h1, repo.extra_info - h2 = {"test_2" => { - "test_21" => "test_value_21", - "test_22" => "test_value_22", - }} + h2 = { + "test_2" => { + "test_21" => "test_value_21", + "test_22" => "test_value_22", + } + } repo.merge_extra_info(h2) assert_equal (h = {"test_11" => "test_value_11"}), repo.extra_info["test_1"] assert_equal "test_value_21", repo.extra_info["test_2"]["test_21"] - h3 = {"test_2" => { - "test_23" => "test_value_23", - "test_24" => "test_value_24", - }} + h3 = { + "test_2" => { + "test_23" => "test_value_23", + "test_24" => "test_value_24", + } + } repo.merge_extra_info(h3) assert_equal (h = {"test_11" => "test_value_11"}), repo.extra_info["test_1"]