From: Alberto Donizetti Date: Tue, 15 Mar 2016 18:49:50 +0000 (+0100) Subject: archive/zip: add missing argument to error message X-Git-Tag: go1.7beta1~1321 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ad4410d40b6479493db4dff6c24a0c907d53c70a;p=gostls13.git 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 --- diff --git a/src/archive/zip/reader_test.go b/src/archive/zip/reader_test.go index 72cf5d9cf4..dfaae78436 100644 --- a/src/archive/zip/reader_test.go +++ b/src/archive/zip/reader_test.go @@ -399,7 +399,7 @@ func readTestFile(t *testing.T, zt ZipTest, ft ZipTestFile, f *File) { // Don't bother uncompressing: too big. if ft.Content == nil && ft.File == "" && ft.Size > 0 { 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() return