aboutsummaryrefslogtreecommitdiff
path: root/src/context
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2016-12-08 22:15:40 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2016-12-08 23:22:37 +0000
commit4c4201f0e2c1faf1d1480ac72737acadedb37e6e (patch)
treeecc5820902484c18c3a5fddd56b17cd26f0a1640 /src/context
parent51a75a01f89ee7c85e2fef6b71d7245de49a3483 (diff)
downloadgo-4c4201f0e2c1faf1d1480ac72737acadedb37e6e.tar.gz
go-4c4201f0e2c1faf1d1480ac72737acadedb37e6e.zip
all: make spelling consistent
Fixes #17938 Change-Id: Iad12155f4976846bd4a9a53869f89e40e5b3deb3 Reviewed-on: https://go-review.googlesource.com/34147 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Diffstat (limited to 'src/context')
-rw-r--r--src/context/context_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context/context_test.go b/src/context/context_test.go
index 2d604a04d3..6efc06cbe5 100644
--- a/src/context/context_test.go
+++ b/src/context/context_test.go
@@ -595,14 +595,14 @@ func XTestCancelRemoves(t testingT) {
_, cancel := WithCancel(ctx)
checkChildren("with WithCancel child ", ctx, 1)
cancel()
- checkChildren("after cancelling WithCancel child", ctx, 0)
+ checkChildren("after canceling WithCancel child", ctx, 0)
ctx, _ = WithCancel(Background())
checkChildren("after creation", ctx, 0)
_, cancel = WithTimeout(ctx, 60*time.Minute)
checkChildren("with WithTimeout child ", ctx, 1)
cancel()
- checkChildren("after cancelling WithTimeout child", ctx, 0)
+ checkChildren("after canceling WithTimeout child", ctx, 0)
}
func XTestWithCancelCanceledParent(t testingT) {