jruby 9.1.10.0 (2.3.3) 2017-05-25 b09c48a Java HotSpot(TM) 64-Bit Server VM 25.121-b13 on 1.8.0_121-b13 +jit [darwin-x86_64]
Expected Behavior
Zlib::GzipReader supports pushing data back onto the buffer via #ungetc and #ungetbyte.
# frozen_string_literal: truerequire"zlib"io=StringIO.newwriter=Zlib::GzipWriter.new(io)writer.write"foo bar baz"writer.closereader=Zlib::GzipReader.new(StringIO.new(io.string))reader.getcreader.ungetc"b"putsreader.read
Environment
Expected Behavior
Zlib::GzipReader
supports pushing data back onto the buffer via#ungetc
and#ungetbyte
.Actual Behavior
Zlib::GzipReader
implements#ungetc
as a no-op and does not respond to#ungetbyte
.The text was updated successfully, but these errors were encountered: