aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/http/readrequest_test.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-03-02 13:46:51 -0800
committerRobert Griesemer <gri@golang.org>2010-03-02 13:46:51 -0800
commitf44fa9b4c711748820875ac40cb0c31d5dc97a42 (patch)
treedb668afafd9a5f21cfa674127e7fdd01d7ed4f20 /src/pkg/http/readrequest_test.go
parent36ea8bb7bfcd6f450574fc0118df6725e76a3f03 (diff)
downloadgo-f44fa9b4c711748820875ac40cb0c31d5dc97a42.tar.xz
gofmt: experiment: align values in map composites where possible
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev https://golang.org/cl/223076
Diffstat (limited to 'src/pkg/http/readrequest_test.go')
-rw-r--r--src/pkg/http/readrequest_test.go38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/pkg/http/readrequest_test.go b/src/pkg/http/readrequest_test.go
index ed2ebe97bb..0ef02d3fca 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",