aboutsummaryrefslogtreecommitdiff
path: root/internal/compress/zlib/reader_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/compress/zlib/reader_test.go')
-rw-r--r--internal/compress/zlib/reader_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/compress/zlib/reader_test.go b/internal/compress/zlib/reader_test.go
index e8a44007..6fda1f27 100644
--- a/internal/compress/zlib/reader_test.go
+++ b/internal/compress/zlib/reader_test.go
@@ -40,7 +40,8 @@ var zlibTests = []zlibTest{
{
"truncated checksum",
"",
- []byte{0x78, 0xbb, 0x00, 0x01, 0x00, 0x01, 0xca, 0x48,
+ []byte{
+ 0x78, 0xbb, 0x00, 0x01, 0x00, 0x01, 0xca, 0x48,
0xcd, 0xc9, 0xc9, 0xd7, 0x51, 0x28, 0xcf, 0x2f,
0xca, 0x49, 0x01, 0x04, 0x00, 0x00, 0xff, 0xff,
},
@@ -162,7 +163,6 @@ func TestDecompressor(t *testing.T) {
continue
}
- defer zr.Close()
// Read and verify correctness of data.
b.Reset()