diff options
author | Andrew Gerrand <adg@golang.org> | 2013-04-29 17:34:47 +0200 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2013-04-29 17:34:47 +0200 |
commit | 13721cf68860ef98358720ed10aef0e8be39e300 (patch) | |
tree | 9079419622be567f2bb729d12dbdfe39aed24371 | |
parent | e9546a01dcb4678476157c3bcdcf8c02a0688f54 (diff) | |
download | go-git-13721cf68860ef98358720ed10aef0e8be39e300.tar.gz |
net/http/httptest: fix incorrectly-named ResponseRecorder example
R=golang-dev, minux.ma, r
CC=golang-dev
https://golang.org/cl/8545047
-rw-r--r-- | src/pkg/net/http/httptest/example_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/http/httptest/example_test.go b/src/pkg/net/http/httptest/example_test.go index 239470d971..42a0ec953b 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) } |