]> Cypherpunks repositories - gostls13.git/commit
net/http: improve TestServerExpect
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 22 May 2012 17:27:34 +0000 (10:27 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 22 May 2012 17:27:34 +0000 (10:27 -0700)
commit5a0333764b1de9c46b2e7fec4cb31a8cadeedb0b
treeaf8eda63f0ec57a5a9592e49ffaecfb271bf85ea
parentf26d61731dd05a1b81f40117fe18630b78f4489e
net/http: improve TestServerExpect

Fail more usefully, and Logf in one place instead of Errorf where
an error is acceptable.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6221059
src/pkg/net/http/serve_test.go