aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2011-03-05 15:43:26 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2011-03-05 15:43:26 -0800
commitbfd3d81b92fc1c1e526cadeefbde254bb6d6c191 (patch)
tree53325587fa7e4ed680b1d034c4755571abb7b25a
parentf88abdad0fe9ac7659eb9cc8d0b703c98665dd19 (diff)
downloadgo-bfd3d81b92fc1c1e526cadeefbde254bb6d6c191.tar.gz
go-bfd3d81b92fc1c1e526cadeefbde254bb6d6c191.zip
httptest: fix docs out-of-sync from earlier renaming
R=rh CC=golang-dev https://golang.org/cl/4239060
-rw-r--r--src/pkg/http/httptest/server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/http/httptest/server.go b/src/pkg/http/httptest/server.go
index 5c5c746743..86c9eb4353 100644
--- a/src/pkg/http/httptest/server.go
+++ b/src/pkg/http/httptest/server.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// Implementation of TempServer
+// Implementation of Server
package httptest
@@ -36,7 +36,7 @@ func NewServer(handler http.Handler) *Server {
return ts
}
-// Close shuts down the temporary server.
+// Close shuts down the server.
func (s *Server) Close() {
s.Listener.Close()
}