]> Cypherpunks repositories - gostls13.git/commitdiff
testing: fix wording in explanation of potential bug
authorRob Pike <r@golang.org>
Thu, 22 Dec 2011 19:08:51 +0000 (11:08 -0800)
committerRob Pike <r@golang.org>
Thu, 22 Dec 2011 19:08:51 +0000 (11:08 -0800)
TBR=rsc

R=rsc
CC=golang-dev
https://golang.org/cl/5504075

src/pkg/testing/testing.go

index b1fb8dd3de62618522bec7f2b5b1f9edfbce6b8e..0411a5f480cce0c53652df4c2e474b7db2ce0c75 100644 (file)
@@ -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