]> Cypherpunks repositories - gostls13.git/commitdiff
net/http/httputil: fix typo in unit test name
authorTyson Andre <tysonandre775@gmail.com>
Sat, 25 Apr 2020 21:39:19 +0000 (21:39 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 25 Apr 2020 23:15:50 +0000 (23:15 +0000)
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>

src/net/http/httputil/reverseproxy_test.go

index f58e08867f6dfd9a920e10a070df69f0d6c27588..08cccb7d92fd5e81c3dd31437a2cbc9e51193ebb 100644 (file)
@@ -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{})