summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug152.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
commite6a328bbdc8f5cad199cda53dab7d310874e06b5 (patch)
tree8e115ff2eb9c4f2040c2c1b69dc50de1d874981d /test/fixedbugs/bug152.go
parentcf9118ad0e6c9fd6defe78270ea8044c2ed89f28 (diff)
downloadgolang-e6a328bbdc8f5cad199cda53dab7d310874e06b5.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/fixedbugs/bug152.go')
-rw-r--r--test/fixedbugs/bug152.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug152.go b/test/fixedbugs/bug152.go
index 29cb1a065..30c3cac91 100644
--- a/test/fixedbugs/bug152.go
+++ b/test/fixedbugs/bug152.go
@@ -8,7 +8,7 @@ package main
func main() {
s := 0;
- for i, v := range []int{1} {
+ for _, v := range []int{1} {
s += v;
}
if s != 1 {