diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2011-06-08 13:38:20 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2011-06-08 13:38:20 -0700 |
| commit | 6a876283c8c5a832d49bcca7ea1f4b671aef2448 (patch) | |
| tree | e65e4e6a38ee7b272a6be6e8f7d644ebdf3df182 /src/pkg/http/readrequest_test.go | |
| parent | 013cfea362fabbe52bb5aa873ec4ed0868d0fbe6 (diff) | |
| download | go-6a876283c8c5a832d49bcca7ea1f4b671aef2448.tar.xz | |
http: change most map[string][]string types to new Values type
This replaces most the map[string][]string usage with
a new Values type name, with the usual methods.
It also changes client.PostForm to take a Values, rather
than a map[string]string, closing a TODO in the code.
R=rsc
CC=golang-dev
https://golang.org/cl/4532123
Diffstat (limited to 'src/pkg/http/readrequest_test.go')
| -rw-r--r-- | src/pkg/http/readrequest_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/http/readrequest_test.go b/src/pkg/http/readrequest_test.go index 19e2ff7747..d93e573f58 100644 --- a/src/pkg/http/readrequest_test.go +++ b/src/pkg/http/readrequest_test.go @@ -64,7 +64,7 @@ var reqTests = []reqTest{ Host: "www.techcrunch.com", Referer: "", UserAgent: "Fake", - Form: map[string][]string{}, + Form: Values{}, }, "abcdef\n", @@ -99,7 +99,7 @@ var reqTests = []reqTest{ Host: "test", Referer: "", UserAgent: "", - Form: map[string][]string{}, + Form: Values{}, }, "", |
