aboutsummaryrefslogtreecommitdiff
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
commit27c0eb843110e5733a9d7e2b7175c40387d81beb (patch)
treeab6e43e2d90bb66c01882b5a0ece4bdc6607fe94 /test/235.go
parent47919799b411f0c1e47591887a233d3692bf19b6 (diff)
downloadgo-27c0eb843110e5733a9d7e2b7175c40387d81beb.tar.gz
go-27c0eb843110e5733a9d7e2b7175c40387d81beb.zip
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 c5287767cb..da1a3a7505 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++ {