diff options
author | Joe Tsai <joetsai@digital-static.net> | 2015-10-13 13:19:09 -0700 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-10-14 17:54:30 +0000 |
commit | 2687db109d2b9f057f9e75503d4a9325e26e84a0 (patch) | |
tree | 72cb1ced32b3bb949676331c75e48ad46905802a /src/compress/gzip/gunzip_test.go | |
parent | 61860508add795c86059faa67d90bd556a3d49bf (diff) | |
download | go-2687db109d2b9f057f9e75503d4a9325e26e84a0.tar.gz go-2687db109d2b9f057f9e75503d4a9325e26e84a0.zip |
compress/gzip: fix go vet warning
Change-Id: I2ac6b178e666e34e028001078faf62ce71e12e9d
Reviewed-on: https://go-review.googlesource.com/15834
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/compress/gzip/gunzip_test.go')
-rw-r--r-- | src/compress/gzip/gunzip_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compress/gzip/gunzip_test.go b/src/compress/gzip/gunzip_test.go index 209896a7fc..007d9585ce 100644 --- a/src/compress/gzip/gunzip_test.go +++ b/src/compress/gzip/gunzip_test.go @@ -415,7 +415,7 @@ func TestNilStream(t *testing.T) { // consist of zero or more members. Thus, we test that a nil stream is okay. _, err := NewReader(bytes.NewReader(nil)) if err != io.EOF { - t.Fatalf("NewReader(nil) on empty stream: got %v, want &v", err, io.EOF) + t.Fatalf("NewReader(nil) on empty stream: got %v, want io.EOF", err) } } |