Skip to content
Snippets Groups Projects
Commit 8a1f4e19 authored by Goutham Veeramachaneni's avatar Goutham Veeramachaneni
Browse files

Fix broken test.

parent 8f4e12a5
No related branches found
No related tags found
No related merge requests found
......@@ -163,7 +163,8 @@ func NewMemChunk(enc Encoding) *MemChunk {
// NewByteChunk returns a MemChunk on the passed bytes.
func NewByteChunk(b []byte) (*MemChunk, error) {
bc := &MemChunk{
cr: func(r io.Reader) (CompressionReader, error) { return gzip.NewReader(r) },
cr: func(r io.Reader) (CompressionReader, error) { return gzip.NewReader(r) },
head: &headBlock{}, // Dummy, empty headblock.
}
db := decbuf{b: b}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment