Remove unnecessary encoding change in tests for `File`.
This commit is contained in:
parent
451a04f7a2
commit
513ce5e5f7
|
|
@ -199,7 +199,6 @@ class ZipFileTest < MiniTest::Test
|
||||||
|
|
||||||
def test_open_buffer_with_io_and_block
|
def test_open_buffer_with_io_and_block
|
||||||
File.open('test/data/rubycode.zip') do |io|
|
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|
|
Zip::File.open_buffer(io) do |zip_io|
|
||||||
# left empty on purpose
|
# left empty on purpose
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue