summaryrefslogtreecommitdiff
path: root/src/lib/io/pipe_test.go
diff options
context:
space:
mode:
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 c187702f2..981197600 100644
--- a/src/lib/io/pipe_test.go
+++ b/src/lib/io/pipe_test.go
@@ -85,7 +85,7 @@ func TestPipe2(t *testing.T) {
func writer(w io.WriteClose, buf []byte, c chan pipeReturn) {
n, err := w.Write(buf);
w.Close();
- c <- pipeReturn(n, err);
+ c <- pipeReturn{n, err};
}
func TestPipe3(t *testing.T) {