diff options
Diffstat (limited to 'src/pkg/compress/gzip/gunzip_test.go')
-rw-r--r-- | src/pkg/compress/gzip/gunzip_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/compress/gzip/gunzip_test.go b/src/pkg/compress/gzip/gunzip_test.go index 7771b3dae..b8c9c7189 100644 --- a/src/pkg/compress/gzip/gunzip_test.go +++ b/src/pkg/compress/gzip/gunzip_test.go @@ -5,6 +5,7 @@ package gzip import ( + "bytes"; "compress/gzip"; "fmt"; "io"; @@ -265,7 +266,7 @@ var gzipTests = []gzipTest { } func TestGzipInflater(t *testing.T) { - b := new(io.ByteBuffer); + b := new(bytes.Buffer); for i, tt := range gzipTests { in := io.NewByteReader(tt.gzip); gzip, err := NewGzipInflater(in); |