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 | 7a4de4f0ba2bc1f9acbb5eb0c7a4b2536f447ffd (patch) | |
| tree | e01e75d7edaa8806e69aea495e5efc95ba3c282c /src/pkg/http/requestwrite_test.go | |
| parent | 129633b0a8c9a014d0863014057007d410c48e9e (diff) | |
| download | golang-7a4de4f0ba2bc1f9acbb5eb0c7a4b2536f447ffd.tar.gz | |
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 issue 644.
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/241041
Diffstat (limited to 'src/pkg/http/requestwrite_test.go')
| -rw-r--r-- | src/pkg/http/requestwrite_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/http/requestwrite_test.go b/src/pkg/http/requestwrite_test.go index 916a18b94..5671e13ad 100644 --- a/src/pkg/http/requestwrite_test.go +++ b/src/pkg/http/requestwrite_test.go @@ -35,7 +35,7 @@ var reqWriteTests = []reqWriteTest{ 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-Charset": "ISO-8859-1,utf-8;q=0.7,*;q=0.7", "Accept-Encoding": "gzip,deflate", "Accept-Language": "en-us,en;q=0.5", |
