mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
code cleanup: rubocop: fix Layout/MultilineArrayBraceLayout in test/unit/repository_bazaar_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18495 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a02f498275
commit
fc243aa3ea
@ -330,7 +330,6 @@ Layout/MultilineArrayBraceLayout:
|
||||
- 'app/models/setting.rb'
|
||||
- 'test/unit/lib/redmine/wiki_formatting/markdown_formatter_test.rb'
|
||||
- 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb'
|
||||
- 'test/unit/repository_bazaar_test.rb'
|
||||
|
||||
# Cop supports --auto-correct.
|
||||
Layout/MultilineBlockLayout:
|
||||
|
||||
@ -219,15 +219,13 @@ class RepositoryBazaarTest < ActiveSupport::TestCase
|
||||
latin1_repo = create_latin1_repo
|
||||
["test-#{CHAR_1_UTF8_HEX}-dir",
|
||||
"/test-#{CHAR_1_UTF8_HEX}-dir",
|
||||
"/test-#{CHAR_1_UTF8_HEX}-dir/"
|
||||
].each do |path|
|
||||
"/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"
|
||||
].each do |path|
|
||||
"/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",
|
||||
entry.path
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user