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:
Josh Bleecher Snyder 2016-08-25 13:42:49 -07:00
parent 320ddcf834
commit f9acd3918e
2 changed files with 2 additions and 2 deletions

View file

@ -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