Commit 13721cf6 authored by Andrew Gerrand's avatar Andrew Gerrand

net/http/httptest: fix incorrectly-named ResponseRecorder example

R=golang-dev, minux.ma, r
CC=golang-dev
https://golang.org/cl/8545047
parent e9546a01
......@@ -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)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment