summaryrefslogtreecommitdiff
path: root/test/235.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-09-16 19:33:40 -0700
committerRob Pike <r@golang.org>2008-09-16 19:33:40 -0700
commit1935c7aad4768e9a594b5aa25745a2f2c5fdd7af (patch)
treeab6e43e2d90bb66c01882b5a0ece4bdc6607fe94 /test/235.go
parent1d9e433b65dd70faeba68be17eef445e29d6a1d6 (diff)
downloadgo-1935c7aad4768e9a594b5aa25745a2f2c5fdd7af.tar.gz
update tests to new communications syntax
powser1.go has not been tested - waiting for compiler to catch up R=ken OCL=15415 CL=15415
Diffstat (limited to 'test/235.go')
-rw-r--r--test/235.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/235.go b/test/235.go
index c5287767c..da1a3a750 100644
--- a/test/235.go
+++ b/test/235.go
@@ -13,7 +13,7 @@ func M(f uint64) (in, out *T) {
out = new(T, 100);
go func(in, out *T, f uint64) {
for {
- out -< f * <- in;
+ out <- f * <-in;
}
}(in, out, f);
return in, out;
@@ -55,7 +55,7 @@ func main() {
for i := 0; i < len(OUT); i++ {
t := min(xs);
for i := 0; i < n; i++ {
- ins[i] -< x;
+ ins[i] <- x;
}
for i := 0; i < n; i++ {