1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:07:56 -07:00

testing: fix the fix to the wording about the bug

TBR=rsc

R=rsc
CC=golang-dev
https://golang.org/cl/5498070
This commit is contained in:
Rob Pike 2011-12-22 11:23:10 -08:00
parent 34139ee155
commit b1a287e3a1

View File

@ -241,7 +241,7 @@ func RunTests(matchString func(pat, str string) (bool, error), tests []InternalT
// 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 test
// kicks off a gouroutine that Fails, yet the test still delivers a completion signal,
// kicks off a goroutine that Fails, yet the test still delivers a completion signal,
// which skews the counting.
var collector = make(chan interface{})