Skip to content

Commit

Permalink
net/http/httptest: fix incorrectly-named ResponseRecorder example
Browse files Browse the repository at this point in the history
R=golang-dev, minux.ma, r
CC=golang-dev
https://golang.org/cl/8545047
  • Loading branch information
adg committed Apr 29, 2013
1 parent e9546a0 commit 13721cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/net/http/httptest/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 13721cf

Please sign in to comment.