aboutsummaryrefslogtreecommitdiff
path: root/src/context
diff options
context:
space:
mode:
authorNaman Gera <namangera15@gmail.com>2021-04-09 03:48:14 +0000
committerEmmanuel Odeke <emmanuel@orijtech.com>2021-04-10 01:46:41 +0000
commit52bf14e0e8bdcd73f1ddfb0c4a1d0200097d3ba2 (patch)
treef74b0bff8523fa36dc932fd8b74450cabdd8aec9 /src/context
parent554d2c4f060ec42e30970dacff1e782250169323 (diff)
downloadgo-52bf14e0e8bdcd73f1ddfb0c4a1d0200097d3ba2.tar.gz
go-52bf14e0e8bdcd73f1ddfb0c4a1d0200097d3ba2.zip
all: fix spellings
This follows the spelling choices that the Go project has made for English words. https://github.com/golang/go/wiki/Spelling Change-Id: Ie7c586d2cf23020cb492cfff58c0831d2d8d3a78 GitHub-Last-Rev: e16a32cd225a275f73d236bcb33703986d110ded GitHub-Pull-Request: golang/go#45442 Reviewed-on: https://go-review.googlesource.com/c/go/+/308291 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Emmanuel Odeke <emmanuel@orijtech.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 84eef01da1..a2e2324a0e 100644
--- a/src/context/context_test.go
+++ b/src/context/context_test.go
@@ -661,7 +661,7 @@ func XTestWithCancelCanceledParent(t testingT) {
t.Errorf("child not done immediately upon construction")
}
if got, want := c.Err(), Canceled; got != want {
- t.Errorf("child not cancelled; got = %v, want = %v", got, want)
+ t.Errorf("child not canceled; got = %v, want = %v", got, want)
}
}
@@ -779,7 +779,7 @@ func XTestCustomContextGoroutines(t testingT) {
defer cancel6()
checkNoGoroutine()
- // Check applied to cancelled context.
+ // Check applied to canceled context.
cancel6()
cancel1()
_, cancel7 := WithCancel(ctx5)