1
0
mirror of https://github.com/golang/go synced 2024-11-12 03:10:22 -07:00

net/http/httptest: fix typo in doc comment

Change-Id: I89f276b32015882437e128814573343a4ca53569
Reviewed-on: https://go-review.googlesource.com/33615
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Michal Bohuslávek 2016-11-29 09:58:35 +00:00 committed by Brad Fitzpatrick
parent 8fa0d85b38
commit 7a92d0b1ae

View File

@ -36,7 +36,7 @@ import (
// NewRequest panics on error for ease of use in testing, where a
// panic is acceptable.
//
// To generate an client HTTP request instead of a server request, see
// To generate a client HTTP request instead of a server request, see
// the NewRequest function in the net/http package.
func NewRequest(method, target string, body io.Reader) *http.Request {
if method == "" {