1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:24:39 -07:00

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

R=rh
CC=golang-dev
https://golang.org/cl/4239060
This commit is contained in:
Brad Fitzpatrick 2011-03-05 15:43:26 -08:00
parent f88abdad0f
commit bfd3d81b92

View File

@ -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 {
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()
} }