-
Brad Fitzpatrick authored
If the user created an httptest.Server directly without using a constructor it won't have the new unexported 'client' field. So don't assume it's non-nil. Fixes #19729 Change-Id: Ie92e5da66cf4e7fb8d95f3ad0f4e3987d3ae8b77 Reviewed-on: https://go-review.googlesource.com/38710 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Kevin Burke <kev@inburke.com>
89ebe5bb
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
example_test.go | ||
httptest.go | ||
httptest_test.go | ||
recorder.go | ||
recorder_test.go | ||
server.go | ||
server_test.go |