diff options
author | Tyson Andre <tysonandre775@gmail.com> | 2020-04-25 21:39:19 +0000 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2020-04-25 23:15:50 +0000 |
commit | 09630172d45c09e150bd1329e37b74611d4af830 (patch) | |
tree | 8ba0e644846aa8e548f1941e033501d861243abf | |
parent | 223d31f9fb1f821d0b1705fda3f925cff54d38b9 (diff) | |
download | go-09630172d45c09e150bd1329e37b74611d4af830.tar.gz go-09630172d45c09e150bd1329e37b74611d4af830.zip |
net/http/httputil: fix typo in unit test name
Everywhere else is using "cancellation"
The reasoning is mentioned in 170060
> Though there is variation in the spelling of canceled,
> cancellation is always spelled with a double l.
>
> Reference: https://www.grammarly.com/blog/canceled-vs-cancelled/
Change-Id: Ifc97c6785afb401814af77c377c2e2745ce53c5a
GitHub-Last-Rev: 05edd7477da46ca5c02703e139dbfc0cd05408ac
GitHub-Pull-Request: golang/go#38662
Reviewed-on: https://go-review.googlesource.com/c/go/+/230200
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r-- | src/net/http/httputil/reverseproxy_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/httputil/reverseproxy_test.go b/src/net/http/httputil/reverseproxy_test.go index f58e08867f..08cccb7d92 100644 --- a/src/net/http/httputil/reverseproxy_test.go +++ b/src/net/http/httputil/reverseproxy_test.go @@ -386,7 +386,7 @@ func TestReverseProxyFlushIntervalHeaders(t *testing.T) { } } -func TestReverseProxyCancelation(t *testing.T) { +func TestReverseProxyCancellation(t *testing.T) { const backendResponse = "I am the backend" reqInFlight := make(chan struct{}) |