mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
net/http, cmd/compile: minor vet fixes
Updates #11041 Change-Id: Ia0151723e3bc0d163cc687a02bfc5e0285d95ffa Reviewed-on: https://go-review.googlesource.com/27810 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
320ddcf834
commit
f9acd3918e
2 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ func TestTokens(t *testing.T) {
|
|||
continue
|
||||
}
|
||||
if got.prec != want.prec {
|
||||
t.Errorf("got prec = %s; want %s", got.prec, want.prec)
|
||||
t.Errorf("got prec = %d; want %d", got.prec, want.prec)
|
||||
continue
|
||||
}
|
||||
nlsemi = want.tok == _IncOp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue