mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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:
parent
34139ee155
commit
b1a287e3a1
1 changed files with 1 additions and 1 deletions
|
|
@ -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{})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue