diff options
author | Robert Griesemer <gri@golang.org> | 2009-11-09 21:23:52 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2009-11-09 21:23:52 -0800 |
commit | 9aad19327eb719775a874f8f18bb15958db1d471 (patch) | |
tree | c515081857e0b9ad897c6d35b0be64fe4c346688 /src/pkg/io/pipe_test.go | |
parent | 073e240233589933c43143c997247c33206bb066 (diff) | |
download | golang-9aad19327eb719775a874f8f18bb15958db1d471.tar.gz |
- replaced gofmt expression formatting algorithm with
rsc's algorithm
- applied gofmt -w misc src
- partial CL (last chunk)
R=rsc, r
http://go/go-review/1024041
Diffstat (limited to 'src/pkg/io/pipe_test.go')
-rw-r--r-- | src/pkg/io/pipe_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/io/pipe_test.go b/src/pkg/io/pipe_test.go index 16c49977b..df83c3ade 100644 --- a/src/pkg/io/pipe_test.go +++ b/src/pkg/io/pipe_test.go @@ -63,7 +63,7 @@ func TestPipe2(t *testing.T) { go reader(t, r, c); var buf = make([]byte, 64); for i := 0; i < 5; i++ { - p := buf[0 : 5 + i*10]; + p := buf[0 : 5+i*10]; n, err := w.Write(p); if n != len(p) { t.Errorf("wrote %d, got %d", len(p), n) |