From: Toshi MARUYAMA Date: Mon, 29 Jul 2019 12:47:14 +0000 (+0000) Subject: rubocop: fix Layout/AlignArray of test/unit/repository_bazaar_test.rb X-Git-Tag: 4.1.0~736 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=01e40108416e8d60e442547243786f3eee3c8e04;p=redmine.git rubocop: fix Layout/AlignArray of test/unit/repository_bazaar_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@18333 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 54085a70b..855d6a373 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -40,7 +40,6 @@ Layout/AlignArray: - 'app/models/setting.rb' - 'lib/redmine/default_data/loader.rb' - 'test/functional/issues_controller_test.rb' - - 'test/unit/repository_bazaar_test.rb' # Cop supports --auto-correct. # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle. diff --git a/test/unit/repository_bazaar_test.rb b/test/unit/repository_bazaar_test.rb index 5e35573e4..5c6a1a5a9 100644 --- a/test/unit/repository_bazaar_test.rb +++ b/test/unit/repository_bazaar_test.rb @@ -218,15 +218,15 @@ class RepositoryBazaarTest < ActiveSupport::TestCase def test_entry_latin1_path latin1_repo = create_latin1_repo ["test-#{CHAR_1_UTF8_HEX}-dir", - "/test-#{CHAR_1_UTF8_HEX}-dir", - "/test-#{CHAR_1_UTF8_HEX}-dir/" + "/test-#{CHAR_1_UTF8_HEX}-dir", + "/test-#{CHAR_1_UTF8_HEX}-dir/" ].each do |path| entry = latin1_repo.entry(path, 2) assert_equal "test-#{CHAR_1_UTF8_HEX}-dir", entry.path assert_equal "dir", entry.kind end ["test-#{CHAR_1_UTF8_HEX}-dir/test-#{CHAR_1_UTF8_HEX}-1.txt", - "/test-#{CHAR_1_UTF8_HEX}-dir/test-#{CHAR_1_UTF8_HEX}-1.txt" + "/test-#{CHAR_1_UTF8_HEX}-dir/test-#{CHAR_1_UTF8_HEX}-1.txt" ].each do |path| entry = latin1_repo.entry(path, 2) assert_equal "test-#{CHAR_1_UTF8_HEX}-dir/test-#{CHAR_1_UTF8_HEX}-1.txt",