summaryrefslogtreecommitdiff
path: root/src/pkg/compress/gzip/gunzip_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/compress/gzip/gunzip_test.go')
-rw-r--r--src/pkg/compress/gzip/gunzip_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/compress/gzip/gunzip_test.go b/src/pkg/compress/gzip/gunzip_test.go
index 699a1b5fe..67b25791c 100644
--- a/src/pkg/compress/gzip/gunzip_test.go
+++ b/src/pkg/compress/gzip/gunzip_test.go
@@ -282,7 +282,7 @@ var gzipTests = []gzipTest {
func TestInflater(t *testing.T) {
b := new(bytes.Buffer);
- for i, tt := range gzipTests {
+ for _, tt := range gzipTests {
in := bytes.NewBuffer(tt.gzip);
gzip, err := NewInflater(in);
if err != nil {