Change-Id: Iee90ce7965eec4074fcb81a34968591877a062d3
GitHub-Last-Rev:
f18fd099e490b130affa298bfc40da27ac589b26
GitHub-Pull-Request: golang/go#74360
Reviewed-on: https://go-review.googlesource.com/c/go/+/683675
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
package context
// Tests in package context cannot depend directly on package testing due to an import cycle.
-// If your test does requires access to unexported members of the context package,
+// If your test requires access to unexported members of the context package,
// add your test below as `func XTestFoo(t testingT)` and add a `TestFoo` to x_test.go
// that calls it. Otherwise, write a regular test in a test.go file in package context_test.