From 52bf14e0e8bdcd73f1ddfb0c4a1d0200097d3ba2 Mon Sep 17 00:00:00 2001 From: Naman Gera Date: Fri, 9 Apr 2021 03:48:14 +0000 Subject: 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 TryBot-Result: Go Bot Reviewed-by: Ian Lance Taylor Trust: Emmanuel Odeke --- src/context/context_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/context') 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) -- cgit v1.3-5-g9baa