diff options
author | Rob Pike <r@golang.org> | 2009-08-17 13:30:22 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2009-08-17 13:30:22 -0700 |
commit | 74dd0ab670751feca69ca1aaf4db9859c5e52b41 (patch) | |
tree | 971cc7e3c955465162133ad90062126ba518107a /test/ken | |
parent | 3e804ba7a71576ec042cf7c22bf3b53b92b0eb60 (diff) | |
download | go-74dd0ab670751feca69ca1aaf4db9859c5e52b41.tar.gz go-74dd0ab670751feca69ca1aaf4db9859c5e52b41.zip |
fix up some irregular indentation
R=rsc
OCL=33382
CL=33391
Diffstat (limited to 'test/ken')
-rw-r--r-- | test/ken/chan1.go | 4 | ||||
-rw-r--r-- | test/ken/divconst.go | 1 | ||||
-rw-r--r-- | test/ken/modconst.go | 1 |
3 files changed, 2 insertions, 4 deletions
diff --git a/test/ken/chan1.go b/test/ken/chan1.go index 5a59de1c0e..2905e08c54 100644 --- a/test/ken/chan1.go +++ b/test/ken/chan1.go @@ -17,7 +17,7 @@ func r(c chan int, m int) { for { - select { + select { case r := <- c: if h[r] != 1 { panicln("r", @@ -28,7 +28,7 @@ r(c chan int, m int) } h[r] = 2; } - } + } } func diff --git a/test/ken/divconst.go b/test/ken/divconst.go index 34d7d430b4..5801975eb3 100644 --- a/test/ken/divconst.go +++ b/test/ken/divconst.go @@ -4,7 +4,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. - package main import "rand" diff --git a/test/ken/modconst.go b/test/ken/modconst.go index 7a9ebed0e4..ad720f448b 100644 --- a/test/ken/modconst.go +++ b/test/ken/modconst.go @@ -4,7 +4,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. - package main import "rand" |