1
0
mirror of https://github.com/golang/go synced 2024-11-19 10:04:56 -07:00

archive/zip: add missing argument to error message

Silence vet.

Change-Id: I987438847389500cf3b5bc545ef918c66917b51a
Reviewed-on: https://go-review.googlesource.com/20683
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Alberto Donizetti 2016-03-15 19:49:50 +01:00 committed by Brad Fitzpatrick
parent f6fab93a46
commit ad4410d40b

View File

@ -399,7 +399,7 @@ func readTestFile(t *testing.T, zt ZipTest, ft ZipTestFile, f *File) {
// Don't bother uncompressing: too big. // Don't bother uncompressing: too big.
if ft.Content == nil && ft.File == "" && ft.Size > 0 { if ft.Content == nil && ft.File == "" && ft.Size > 0 {
if size != ft.Size { if size != ft.Size {
t.Errorf("%v: uncompressed size %#x, want %#x", size, ft.Size) t.Errorf("%v: uncompressed size %#x, want %#x", ft.Name, size, ft.Size)
} }
r.Close() r.Close()
return return