pkg: fix incorrect prints found by govet

R=golang-dev, nigeltao
CC=golang-dev
https://golang.org/cl/5266041
This commit is contained in:
Robert Hencke 2011-10-13 13:34:01 +11:00 committed by Nigel Tao
parent beed0a7844
commit c50182480d
4 changed files with 4 additions and 4 deletions

View file

@ -85,7 +85,7 @@ func TestStatementQueryRow(t *testing.T) {
if err := stmt.QueryRow(tt.name).Scan(&age); err != nil {
t.Errorf("%d: on %q, QueryRow/Scan: %v", n, tt.name, err)
} else if age != tt.want {
t.Errorf("%d: age=%d, want %d", age, tt.want)
t.Errorf("%d: age=%d, want %d", n, age, tt.want)
}
}