Commit bfd3d81b authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

httptest: fix docs out-of-sync from earlier renaming

R=rh
CC=golang-dev
https://golang.org/cl/4239060
parent f88abdad
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
// Implementation of TempServer // Implementation of Server
package httptest package httptest
...@@ -36,7 +36,7 @@ func NewServer(handler http.Handler) *Server { ...@@ -36,7 +36,7 @@ func NewServer(handler http.Handler) *Server {
return ts return ts
} }
// Close shuts down the temporary server. // Close shuts down the server.
func (s *Server) Close() { func (s *Server) Close() {
s.Listener.Close() s.Listener.Close()
} }
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