summaryrefslogtreecommitdiff
path: root/test/initialize.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-09-15 12:42:24 -0700
committerRuss Cox <rsc@golang.org>2009-09-15 12:42:24 -0700
commit7f51e880cd29a4c63860dad59cc60916119cc2df (patch)
tree8e115ff2eb9c4f2040c2c1b69dc50de1d874981d /test/initialize.go
parentc6fac6bdd2b1fd69442a455fb47d09022241dd69 (diff)
downloadgo-7f51e880cd29a4c63860dad59cc60916119cc2df.tar.gz
last round: non-package code
R=r DELTA=127 (38 added, 3 deleted, 86 changed) OCL=34640 CL=34650
Diffstat (limited to 'test/initialize.go')
-rw-r--r--test/initialize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/initialize.go b/test/initialize.go
index 5fde9daba..807bf5bda 100644
--- a/test/initialize.go
+++ b/test/initialize.go
@@ -50,7 +50,7 @@ var same = []Same {
func main() {
ok := true;
- for i, s := range same {
+ for _, s := range same {
if !reflect.DeepEqual(s.a, s.b) {
ok = false;
fmt.Printf("not same: %v and %v\n", s.a, s.b);