summaryrefslogtreecommitdiff
path: root/src/lib/io/pipe_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-04-03 23:20:51 -0700
committerRuss Cox <rsc@golang.org>2009-04-03 23:20:51 -0700
commiteaa9156ff73f91f666aa6df5cdd85269a556f05b (patch)
treea0e0d55f07dbee2d0946a8edf880c0295cab84fb /src/lib/io/pipe_test.go
parentd599cdb767429ca0710048c78323c29a695d28b6 (diff)
downloadgolang-eaa9156ff73f91f666aa6df5cdd85269a556f05b.tar.gz
fix both of anton's bugs:
* make([100]int) was being compiled to make([]int), kind of. * []this = [100]that was working for any this, that. turned up a typo in pipe_test.go R=ken OCL=27081 CL=27081
Diffstat (limited to 'src/lib/io/pipe_test.go')
-rw-r--r--src/lib/io/pipe_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/io/pipe_test.go b/src/lib/io/pipe_test.go
index 981197600..df2ed8941 100644
--- a/src/lib/io/pipe_test.go
+++ b/src/lib/io/pipe_test.go
@@ -148,7 +148,7 @@ func testPipeReadClose(t *testing.T, async bool) {
} else {
delayClose(t, w, c);
}
- var buf [64]int;
+ var buf [64]byte;
n, err := r.Read(buf);
<-c;
if err != nil {