summaryrefslogtreecommitdiff
path: root/src/pkg/http/request_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
commit10f55215a4d4ac643bf04202704b4fec01417bba (patch)
treee6032529c69dbf4925dc7da8a0641ff6bb264b3d /src/pkg/http/request_test.go
parentedc1c5e40d5b639a38b7a0b7484d51edab3bcb62 (diff)
downloadgolang-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/request_test.go')
-rw-r--r--src/pkg/http/request_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/http/request_test.go b/src/pkg/http/request_test.go
index 6e483c769..7d9bca679 100644
--- a/src/pkg/http/request_test.go
+++ b/src/pkg/http/request_test.go
@@ -19,15 +19,15 @@ type parseTest struct {
var parseTests = []parseTest{
parseTest{
query: "a=1&b=2",
- out: stringMultimap{"a": []string{"1"}, "b": []string{"2"}},
+ out: stringMultimap{"a": []string{"1"}, "b": []string{"2"}},
},
parseTest{
query: "a=1&a=2&a=banana",
- out: stringMultimap{"a": []string{"1", "2", "banana"}},
+ out: stringMultimap{"a": []string{"1", "2", "banana"}},
},
parseTest{
query: "ascii=%3Ckey%3A+0x90%3E",
- out: stringMultimap{"ascii": []string{"<key: 0x90>"}},
+ out: stringMultimap{"ascii": []string{"<key: 0x90>"}},
},
}
@@ -90,7 +90,7 @@ func TestPostContentTypeParsing(t *testing.T) {
req := &Request{
Method: "POST",
Header: test.contentType,
- Body: nopCloser{bytes.NewBufferString("body")},
+ Body: nopCloser{bytes.NewBufferString("body")},
}
err := req.ParseForm()
if !test.error && err != nil {