Remove unnecessary encoding change in tests for `File`.

This commit is contained in:
Robert Haines 2022-06-18 12:45:59 +01:00
parent 451a04f7a2
commit 513ce5e5f7
1 changed files with 0 additions and 1 deletions

View File

@ -199,7 +199,6 @@ class ZipFileTest < MiniTest::Test
def test_open_buffer_with_io_and_block
File.open('test/data/rubycode.zip') do |io|
io.set_encoding(Encoding::BINARY) # not strictly required but can be set
Zip::File.open_buffer(io) do |zip_io|
# left empty on purpose
end