aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorKevin Burke <kevin@burke.dev>2023-12-07 13:13:25 -0800
committerDamien Neil <dneil@google.com>2024-03-11 18:09:14 +0000
commit3a41bfac9bfddc3663d81b8296dbe8904baef44e (patch)
tree4656792d8f40ecdcb79c2eb543520bfdd1618a6e /api
parentc8e4f8c7756d67e27d2cfe4383cb90cf9f97d5a3 (diff)
downloadgo-3a41bfac9bfddc3663d81b8296dbe8904baef44e.tar.gz
go-3a41bfac9bfddc3663d81b8296dbe8904baef44e.zip
net/http/httptest: add NewRequestWithContext
This matches the net/http API. Updates #59473. Change-Id: I99917cef3ed42a0b4a2b39230b492be00da8bbfd Reviewed-on: https://go-review.googlesource.com/c/go/+/548355 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'api')
-rw-r--r--api/next/59473.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next/59473.txt b/api/next/59473.txt
new file mode 100644
index 0000000000..da6902d424
--- /dev/null
+++ b/api/next/59473.txt
@@ -0,0 +1 @@
+pkg net/http/httptest, func NewRequestWithContext(context.Context, string, string, io.Reader) *http.Request #59473