]> Cypherpunks repositories - gostls13.git/commit
net/http: make use of testing.Errorf instead of testing.Fatalf in non-test function...
authorMikio Hara <mikioh.mikioh@gmail.com>
Tue, 18 Mar 2014 12:12:00 +0000 (21:12 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Tue, 18 Mar 2014 12:12:00 +0000 (21:12 +0900)
commitd7039b71a92bb45909c93970bb5593414cb2cdbe
tree28eebed3b27e25d76219f2c8fea3c2f96a3460be
parent41818f8fcc90f2e2d2738ca298e1d6e622243e7a
net/http: make use of testing.Errorf instead of testing.Fatalf in non-test function goroutines

See testing.FailNow for further information.
Also avoid nil pointer derefernce in TestTransportMaxPerHostIdleConns.

LGTM=dave
R=golang-codereviews, dave
CC=golang-codereviews
https://golang.org/cl/76470043
src/pkg/net/http/transport_test.go