diff options
author | Russ Cox <rsc@golang.org> | 2009-01-15 17:22:17 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-01-15 17:22:17 -0800 |
commit | 8a7cbadbbe9768ccd7480bb11e35454e39ef2bdd (patch) | |
tree | 14ada4cb02c131a6c1a3539acdae6c729b3fb307 /test/map.go | |
parent | 74a60ed08a2581279bef3cccfb9043196c865f80 (diff) | |
download | go-8a7cbadbbe9768ccd7480bb11e35454e39ef2bdd.tar.gz go-8a7cbadbbe9768ccd7480bb11e35454e39ef2bdd.zip |
convert strconv
R=r
DELTA=568 (0 added, 9 deleted, 559 changed)
OCL=22898
CL=22901
Diffstat (limited to 'test/map.go')
-rw-r--r-- | test/map.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/map.go b/test/map.go index 21d4fd773d..51c6fe5f5b 100644 --- a/test/map.go +++ b/test/map.go @@ -61,8 +61,8 @@ func main() { var apT [2*count]*T; for i := 0; i < count; i++ { - s := strconv.itoa(i); - s10 := strconv.itoa(i*10); + s := strconv.Itoa(i); + s10 := strconv.Itoa(i*10); f := float(i); t := T{int64(i),f}; apT[i] = new(T); @@ -137,8 +137,8 @@ func main() { // test construction directly for i := 0; i < count; i++ { - s := strconv.itoa(i); - s10 := strconv.itoa(i*10); + s := strconv.Itoa(i); + s10 := strconv.Itoa(i*10); f := float(i); t := T{int64(i), f}; // BUG m := M(i, i+1); @@ -191,7 +191,7 @@ func main() { // test existence with tuple check // failed lookups yield a false value for the boolean. for i := 0; i < count; i++ { - s := strconv.itoa(i); + s := strconv.Itoa(i); f := float(i); t := T{int64(i), f}; { @@ -329,7 +329,7 @@ func main() { // test nonexistence with tuple check // failed lookups yield a false value for the boolean. for i := count; i < 2*count; i++ { - s := strconv.itoa(i); + s := strconv.Itoa(i); f := float(i); t := T{int64(i),f}; { @@ -467,7 +467,7 @@ func main() { // tests for structured map element updates for i := 0; i < count; i++ { - s := strconv.itoa(i); + s := strconv.Itoa(i); mspa[s][i % 2] = "deleted"; if mspa[s][i % 2] != "deleted" { fmt.Printf("update mspa[%s][%d] = %s\n", s, i %2, mspa[s][i % 2]); |