mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 02:17:43 +02: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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user