diff options
| author | Robert Griesemer <gri@golang.org> | 2010-03-04 17:37:15 -0800 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2010-03-04 17:37:15 -0800 |
| commit | e8a049b44082ea383af1332c8ccaec870c83c128 (patch) | |
| tree | 07ded2edf53d8edce7bb84f8f3ae47b90cba3413 /src/pkg/http/readrequest_test.go | |
| parent | 3e4e4ec70455ed2122377be894acde07cbc46934 (diff) | |
| download | go-e8a049b44082ea383af1332c8ccaec870c83c128.tar.xz | |
gofmt: modified algorithm for alignment of multi-line composite/list entries
- only manual changes are in src/pkg/go/printer/nodes.go
- use a heuristic to determine "outliers" such that not entire composites are
forced to align with them
- improves several places that were not unligned before due too simple heuristic
- unalignes some cases that contain "outliers"
- gofmt -w src misc
Fixes #644.
R=rsc, r
CC=golang-dev
https://golang.org/cl/241041
Diffstat (limited to 'src/pkg/http/readrequest_test.go')
| -rw-r--r-- | src/pkg/http/readrequest_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/http/readrequest_test.go b/src/pkg/http/readrequest_test.go index 0ef02d3fca..fa186f1abf 100644 --- a/src/pkg/http/readrequest_test.go +++ b/src/pkg/http/readrequest_test.go @@ -51,7 +51,7 @@ var reqTests = []reqTest{ ProtoMajor: 1, ProtoMinor: 1, Header: map[string]string{ - "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", + "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", "Accept-Language": "en-us,en;q=0.5", "Accept-Encoding": "gzip,deflate", "Accept-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", |
