Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
b1a287e3
Commit
b1a287e3
authored
Dec 22, 2011
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing: fix the fix to the wording about the bug
TBR=rsc R=rsc CC=golang-dev
https://golang.org/cl/5498070
parent
34139ee1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/pkg/testing/testing.go
src/pkg/testing/testing.go
+1
-1
No files found.
src/pkg/testing/testing.go
View file @
b1a287e3
...
...
@@ -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 go
u
routine 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
{})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment