summaryrefslogtreecommitdiff
path: root/test/ken
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2009-08-17 13:30:22 -0700
committerRob Pike <r@golang.org>2009-08-17 13:30:22 -0700
commitdc7bf11e534b92ce21630d07d0dc88096d7fb6f7 (patch)
tree971cc7e3c955465162133ad90062126ba518107a /test/ken
parentb614df3e168a31ebef8b814fc250ecfe63409d29 (diff)
downloadgo-dc7bf11e534b92ce21630d07d0dc88096d7fb6f7.tar.gz
fix up some irregular indentation
R=rsc OCL=33382 CL=33391
Diffstat (limited to 'test/ken')
-rw-r--r--test/ken/chan1.go4
-rw-r--r--test/ken/divconst.go1
-rw-r--r--test/ken/modconst.go1
3 files changed, 2 insertions, 4 deletions
diff --git a/test/ken/chan1.go b/test/ken/chan1.go
index 5a59de1c0..2905e08c5 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 34d7d430b..5801975eb 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 7a9ebed0e..ad720f448 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"