diff options
author | John Bampton <jbampton@gmail.com> | 2021-02-17 01:48:21 +0000 |
---|---|---|
committer | Emmanuel Odeke <emmanuel@orijtech.com> | 2021-02-24 04:11:43 +0000 |
commit | 6ba4a300d894b33fd8bf076dec08a5e3245d3a2c (patch) | |
tree | 08b44d533c3f2cc4245f9eb3c9459f66d3760eea /src/runtime/chan_test.go | |
parent | 43652dc46f770253b3603f47165b1568b439b0b5 (diff) | |
download | go-6ba4a300d894b33fd8bf076dec08a5e3245d3a2c.tar.gz go-6ba4a300d894b33fd8bf076dec08a5e3245d3a2c.zip |
docs: fix spelling
Change-Id: Ib689e5793d9cb372e759c4f34af71f004010c822
GitHub-Last-Rev: d63798388e5dcccb984689b0ae39b87453b97393
GitHub-Pull-Request: golang/go#44259
Reviewed-on: https://go-review.googlesource.com/c/go/+/291949
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Matthew Dempsky <mdempsky@google.com>
Trust: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/runtime/chan_test.go')
-rw-r--r-- | src/runtime/chan_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/chan_test.go b/src/runtime/chan_test.go index 756bbbeccf..003d6a9fb3 100644 --- a/src/runtime/chan_test.go +++ b/src/runtime/chan_test.go @@ -631,7 +631,7 @@ func TestNoShrinkStackWhileParking(t *testing.T) { // channel. See issue 40641 for more details on the problem. // // The way we try to induce this failure is to set up two - // goroutines: a sender and a reciever that communicate across + // goroutines: a sender and a receiver that communicate across // a channel. We try to set up a situation where the sender // grows its stack temporarily then *fully* blocks on a channel // often. Meanwhile a GC is triggered so that we try to get a @@ -671,7 +671,7 @@ func TestNoShrinkStackWhileParking(t *testing.T) { go send(c, done) // Wait a little bit before triggering // the GC to make sure the sender and - // reciever have gotten into their groove. + // receiver have gotten into their groove. time.Sleep(50 * time.Microsecond) runtime.GC() <-done |