aboutsummaryrefslogtreecommitdiff
path: root/test/map.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2012-02-16 17:21:21 +1100
committerRob Pike <r@golang.org>2012-02-16 17:21:21 +1100
commit21be71a41966c4b8d9107dec47bed1b3867487bb (patch)
treebc8ae9ed2c97370e02aca299dcbfbd467b837a61 /test/map.go
parente8edf84d81e70b054bf6e69de1f00e2d035a11f7 (diff)
downloadgo-21be71a41966c4b8d9107dec47bed1b3867487bb.tar.gz
go-21be71a41966c4b8d9107dec47bed1b3867487bb.zip
all: errors caught by go vet
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5674069
Diffstat (limited to 'test/map.go')
-rw-r--r--test/map.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/map.go b/test/map.go
index 215e56c7f6..8e1af0e9c4 100644
--- a/test/map.go
+++ b/test/map.go
@@ -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])
}
}