diff --git a/.rubocop_rubyzip.yml b/.rubocop_rubyzip.yml index 9fb8f37..a111158 100644 --- a/.rubocop_rubyzip.yml +++ b/.rubocop_rubyzip.yml @@ -110,12 +110,6 @@ Style/ElseAlignment: Style/EmptyElse: Enabled: false -# Offense count: 3 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -Style/EmptyLinesAroundBlockBody: - Enabled: false - # Offense count: 40 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. diff --git a/test/central_directory_entry_test.rb b/test/central_directory_entry_test.rb index 3575a64..f2c008f 100644 --- a/test/central_directory_entry_test.rb +++ b/test/central_directory_entry_test.rb @@ -55,7 +55,6 @@ class ZipCentralDirectoryEntryTest < MiniTest::Test # file name (variable size) # extra field (variable size) # file comment (variable size) - end end diff --git a/test/file_extract_test.rb b/test/file_extract_test.rb index 19f3b4c..7f2cb42 100644 --- a/test/file_extract_test.rb +++ b/test/file_extract_test.rb @@ -26,7 +26,6 @@ class ZipFileExtractTest < MiniTest::Test assert(File.exist?(EXTRACTED_FILENAME)) AssertEntry.assert_contents(EXTRACTED_FILENAME, entry.get_input_stream() { |is| is.read }) - end end diff --git a/test/file_split_test.rb b/test/file_split_test.rb index 8813bc2..d8945cb 100644 --- a/test/file_split_test.rb +++ b/test/file_split_test.rb @@ -52,7 +52,6 @@ class ZipFileSplitTest < MiniTest::Test assert(File.exist?(EXTRACTED_FILENAME)) AssertEntry.assert_contents(EXTRACTED_FILENAME, entry.get_input_stream() { |is| is.read }) - end end end diff --git a/test/filesystem/file_mutating_test.rb b/test/filesystem/file_mutating_test.rb index 9638ee9..51207ad 100644 --- a/test/filesystem/file_mutating_test.rb +++ b/test/filesystem/file_mutating_test.rb @@ -51,7 +51,6 @@ class ZipFsFileMutatingTest < MiniTest::Test def test_chmod ::Zip::File.open(TEST_ZIP) do |zf| - zf.file.chmod(0765, "file1") end