diff --git a/src/pkg/net/http/httptest/example_test.go b/src/pkg/net/http/httptest/example_test.go index 239470d97158e..42a0ec953b27e 100644 --- a/src/pkg/net/http/httptest/example_test.go +++ b/src/pkg/net/http/httptest/example_test.go @@ -12,7 +12,7 @@ import ( "net/http/httptest" ) -func ExampleRecorder() { +func ExampleResponseRecorder() { handler := func(w http.ResponseWriter, r *http.Request) { http.Error(w, "something failed", http.StatusInternalServerError) }