8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the code at the following location (
rubyzip/test/file_test.rb
Line 538 in 05916bf
File.open(zname, 'rb') { |f| Zip::File.open_buffer(f) do |zipfile| end }
According to the documentation, IO object is valid in this situation. However, the modified test fails:
ZipFileTest#test_streaming: ArgumentError: wrong number of arguments (0 for 1..2) /mnt/var/git/rubyzip/lib/zip/output_stream.rb:32:in `reopen' /mnt/var/git/rubyzip/lib/zip/output_stream.rb:32:in `initialize' /mnt/var/git/rubyzip/lib/zip/output_stream.rb:59:in `new' /mnt/var/git/rubyzip/lib/zip/output_stream.rb:59:in `write_buffer' /mnt/var/git/rubyzip/lib/zip/file.rb:317:in `write_buffer' /mnt/var/git/rubyzip/lib/zip/file.rb:128:in `open_buffer' /mnt/var/git/rubyzip/test/file_test.rb:542:in `block in test_streaming' /mnt/var/git/rubyzip/test/file_test.rb:541:in `open' /mnt/var/git/rubyzip/test/file_test.rb:541:in `test_streaming'
Also see related #177.
The text was updated successfully, but these errors were encountered:
IO
Also see related PR: #182
Sorry, something went wrong.
open_buffer
I think this is the same as #146 and now fixed.
No branches or pull requests
Change the code at the following location (
rubyzip/test/file_test.rb
Line 538 in 05916bf
According to the documentation, IO object is valid in this situation. However, the modified test fails:
Also see related #177.
The text was updated successfully, but these errors were encountered: