Commit b1a287e3 authored by Rob Pike's avatar Rob Pike

testing: fix the fix to the wording about the bug

TBR=rsc

R=rsc
CC=golang-dev
https://golang.org/cl/5498070
parent 34139ee1
...@@ -241,7 +241,7 @@ func RunTests(matchString func(pat, str string) (bool, error), tests []InternalT ...@@ -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. // We build a new channel tree for each run of the loop.
// collector merges in one channel all the upstream signals from parallel tests. // 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 // 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. // which skews the counting.
var collector = make(chan interface{}) var collector = make(chan interface{})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment