mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
pkg: fix incorrect prints found by govet
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/5266041
This commit is contained in:
parent
beed0a7844
commit
c50182480d
4 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue