diff options
| author | Robert Griesemer <gri@golang.org> | 2010-03-02 13:46:51 -0800 | 
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2010-03-02 13:46:51 -0800 | 
| commit | 10f55215a4d4ac643bf04202704b4fec01417bba (patch) | |
| tree | e6032529c69dbf4925dc7da8a0641ff6bb264b3d /src/pkg/http/readrequest_test.go | |
| parent | edc1c5e40d5b639a38b7a0b7484d51edab3bcb62 (diff) | |
| download | golang-10f55215a4d4ac643bf04202704b4fec01417bba.tar.gz | |
gofmt: experiment: align values in map composites where possible
- gofmt -w src misc
- looking for feedback
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/223076
Diffstat (limited to 'src/pkg/http/readrequest_test.go')
| -rw-r--r-- | src/pkg/http/readrequest_test.go | 38 | 
1 files changed, 19 insertions, 19 deletions
| diff --git a/src/pkg/http/readrequest_test.go b/src/pkg/http/readrequest_test.go index ed2ebe97b..0ef02d3fc 100644 --- a/src/pkg/http/readrequest_test.go +++ b/src/pkg/http/readrequest_test.go @@ -37,34 +37,34 @@ var reqTests = []reqTest{  			Method: "GET",  			RawURL: "http://www.techcrunch.com/",  			URL: &URL{ -				Raw: "http://www.techcrunch.com/", -				Scheme: "http", -				RawPath: "//www.techcrunch.com/", +				Raw:       "http://www.techcrunch.com/", +				Scheme:    "http", +				RawPath:   "//www.techcrunch.com/",  				Authority: "www.techcrunch.com", -				Userinfo: "", -				Host: "www.techcrunch.com", -				Path: "/", -				RawQuery: "", -				Fragment: "", +				Userinfo:  "", +				Host:      "www.techcrunch.com", +				Path:      "/", +				RawQuery:  "", +				Fragment:  "",  			}, -			Proto: "HTTP/1.1", +			Proto:      "HTTP/1.1",  			ProtoMajor: 1,  			ProtoMinor: 1,  			Header: map[string]string{  				"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", -				"Keep-Alive": "300", +				"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", +				"Keep-Alive":       "300",  				"Proxy-Connection": "keep-alive", -				"Content-Length": "7", +				"Content-Length":   "7",  			}, -			Close: false, +			Close:         false,  			ContentLength: 7, -			Host: "www.techcrunch.com", -			Referer: "", -			UserAgent: "Fake", -			Form: map[string][]string{}, +			Host:          "www.techcrunch.com", +			Referer:       "", +			UserAgent:     "Fake", +			Form:          map[string][]string{},  		},  		"abcdef\n", | 
