mirror of
https://github.com/golang/go
synced 2024-11-25 01:08:02 -07:00
all: errors caught by go vet
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5674069
This commit is contained in:
parent
e8edf84d81
commit
21be71a419
@ -111,7 +111,7 @@ func testErrno(t *testing.T) {
|
||||
t.Fatalf("C.fopen: should fail")
|
||||
}
|
||||
if err != os.ENOENT {
|
||||
t.Fatalf("C.fopen: unexpected error: ", err)
|
||||
t.Fatalf("C.fopen: unexpected error: %v", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -487,7 +487,7 @@ func testbasic() {
|
||||
|
||||
mipM[i][i]++
|
||||
if mipM[i][i] != (i+1)+1 {
|
||||
fmt.Printf("update mipM[%d][%d] = %i\n", i, i, mipM[i][i])
|
||||
fmt.Printf("update mipM[%d][%d] = %d\n", i, i, mipM[i][i])
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user