]> Cypherpunks repositories - gostls13.git/commit
net/http: Add more call order tests for request form parsing.
authorMatthew Cottingham <mattcottingham@gmail.com>
Mon, 6 Jan 2014 18:36:04 +0000 (10:36 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 6 Jan 2014 18:36:04 +0000 (10:36 -0800)
commit991e9a83314216040592e3f303d737cb2dc087ac
treea91e5be88d2532a6fe405543b82237c902bc6e3a
parent657675792767779084ab45fbbe966e07ab357420
net/http: Add more call order tests for request form parsing.

Adds tests for branches handling call ordering which
were shown to be untested by the cover tool.

This is part of the refactoring of form parsing discussed
in CL 44040043. These tests may need to be changed later but
should help lock in the current behaviour.

R=golang-codereviews, dave, bradfitz
CC=golang-codereviews
https://golang.org/cl/46750043
src/pkg/net/http/request.go
src/pkg/net/http/request_test.go