mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
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
This commit is contained in:
parent
ec4177a2f3
commit
01e4010841
@ -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.
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user