mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: fix vet nits
Fixes these complaints from vet: cmd/compile/internal/gc/noder.go:32: cmd/compile/internal/syntax.Error composite literal uses unkeyed fields cmd/compile/internal/gc/noder.go:1035: cmd/compile/internal/syntax.Error composite literal uses unkeyed fields cmd/compile/internal/gc/noder.go:1051: cmd/compile/internal/syntax.Error composite literal uses unkeyed fields cmd/compile/internal/syntax/parser_test.go:182: possible formatting directive in Error call net/http/client_test.go:1334: possible formatting directive in Fatal call Change-Id: I5f90ec30f3c106c7e66c92e2b6f8d3b4874fec66 Reviewed-on: https://go-review.googlesource.com/33133 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
50fed64dd9
commit
eb8f2a8320
3 changed files with 5 additions and 5 deletions
|
|
@ -179,6 +179,6 @@ func TestParseFile(t *testing.T) {
|
|||
t.Error("missing io error")
|
||||
}
|
||||
if err != first {
|
||||
t.Error("got %v; want first error %v", err, first)
|
||||
t.Errorf("got %v; want first error %v", err, first)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue