fix rubocop Style/EmptyLinesAroundBlockBody cop
This commit is contained in:
parent
eba5fa1983
commit
b1c0dc2428
|
@ -110,12 +110,6 @@ Style/ElseAlignment:
|
||||||
Style/EmptyElse:
|
Style/EmptyElse:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
# Offense count: 3
|
|
||||||
# Cop supports --auto-correct.
|
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
||||||
Style/EmptyLinesAroundBlockBody:
|
|
||||||
Enabled: false
|
|
||||||
|
|
||||||
# Offense count: 40
|
# Offense count: 40
|
||||||
# Cop supports --auto-correct.
|
# Cop supports --auto-correct.
|
||||||
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
||||||
|
|
|
@ -55,7 +55,6 @@ class ZipCentralDirectoryEntryTest < MiniTest::Test
|
||||||
# file name (variable size)
|
# file name (variable size)
|
||||||
# extra field (variable size)
|
# extra field (variable size)
|
||||||
# file comment (variable size)
|
# file comment (variable size)
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,6 @@ class ZipFileExtractTest < MiniTest::Test
|
||||||
assert(File.exist?(EXTRACTED_FILENAME))
|
assert(File.exist?(EXTRACTED_FILENAME))
|
||||||
AssertEntry.assert_contents(EXTRACTED_FILENAME,
|
AssertEntry.assert_contents(EXTRACTED_FILENAME,
|
||||||
entry.get_input_stream() { |is| is.read })
|
entry.get_input_stream() { |is| is.read })
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,6 @@ class ZipFileSplitTest < MiniTest::Test
|
||||||
assert(File.exist?(EXTRACTED_FILENAME))
|
assert(File.exist?(EXTRACTED_FILENAME))
|
||||||
AssertEntry.assert_contents(EXTRACTED_FILENAME,
|
AssertEntry.assert_contents(EXTRACTED_FILENAME,
|
||||||
entry.get_input_stream() { |is| is.read })
|
entry.get_input_stream() { |is| is.read })
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -51,7 +51,6 @@ class ZipFsFileMutatingTest < MiniTest::Test
|
||||||
|
|
||||||
def test_chmod
|
def test_chmod
|
||||||
::Zip::File.open(TEST_ZIP) do |zf|
|
::Zip::File.open(TEST_ZIP) do |zf|
|
||||||
|
|
||||||
zf.file.chmod(0765, "file1")
|
zf.file.chmod(0765, "file1")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue