Skip to content

Commit

Permalink
Fix read into buf test on old rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
segiddins committed Sep 21, 2023
1 parent f08b4a0 commit 9811fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/zlib/test_zlib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ def test_read
end

Zlib::GzipReader.open(t.path) do |f|
s = "".dup
s = "".b

assert_raise(ArgumentError) { f.read(-1, s) }

Expand Down

0 comments on commit 9811fa8

Please sign in to comment.