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
Showing
Please
register
or
sign in
to comment
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