mirror of
https://github.com/golang/go
synced 2024-11-24 21:00:09 -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:
parent
f88abdad0f
commit
bfd3d81b92
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user