We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 92fe9eb + 1582ce7 commit 06f1a6eCopy full SHA for 06f1a6e
1 file changed
test/stdlib/zlib/GzipReader_test.rb
@@ -29,7 +29,7 @@ def test_wrap
29
path = File.join(tmpdir, "test.gz")
30
Zlib::GzipWriter.open(path) { _1.puts "hello" }
31
32
- File.open(path) do |io|
+ File.open(path, "rb") do |io|
33
assert_send_type "(IO io) -> Zlib::GzipReader",
34
Zlib::GzipReader, :wrap, io
35
0 commit comments