diff options
author | Rob Pike <r@golang.org> | 2011-12-22 11:08:51 -0800 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2011-12-22 11:08:51 -0800 |
commit | 34139ee155e303e13b8a648965840dd9ed907b4e (patch) | |
tree | ed202f0da6c87fd4707afd3041becec5234b5caa | |
parent | 66155134a7daa2a28bf0ecd55bcf36be3b21e473 (diff) | |
download | go-34139ee155e303e13b8a648965840dd9ed907b4e.tar.gz go-34139ee155e303e13b8a648965840dd9ed907b4e.zip |
testing: fix wording in explanation of potential bug
TBR=rsc
R=rsc
CC=golang-dev
https://golang.org/cl/5504075
-rw-r--r-- | src/pkg/testing/testing.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/testing/testing.go b/src/pkg/testing/testing.go index b1fb8dd3de..0411a5f480 100644 --- a/src/pkg/testing/testing.go +++ b/src/pkg/testing/testing.go @@ -240,9 +240,9 @@ func RunTests(matchString func(pat, str string) (bool, error), tests []InternalT runtime.GOMAXPROCS(procs) // We build a new channel tree for each run of the loop. // collector merges in one channel all the upstream signals from parallel tests. - // If all tests pump to the same channel, a bug can occur where a goroutine - // kicks off a test, fails, and still delivers a completion signal, which skews the - // counting. + // If all tests pump to the same channel, a bug can occur where a test + // kicks off a gouroutine that Fails, yet the test still delivers a completion signal, + // which skews the counting. var collector = make(chan interface{}) numParallel := 0 |