]> Cypherpunks repositories - gostls13.git/commitdiff
httptest: fix docs out-of-sync from earlier renaming
authorBrad Fitzpatrick <bradfitz@golang.org>
Sat, 5 Mar 2011 23:43:26 +0000 (15:43 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 5 Mar 2011 23:43:26 +0000 (15:43 -0800)
R=rh
CC=golang-dev
https://golang.org/cl/4239060

src/pkg/http/httptest/server.go

index 5c5c746743da4d701715c69c66ddf3ad3c3206f8..86c9eb4353562ca5e7465dc94a65706429c27a92 100644 (file)
@@ -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()
 }