mirror of
https://github.com/golang/go.git
synced 2025-10-25 05:53:20 +00:00
testing: use conventional comments for exported internal funcs & structs
Change-Id: I2dd5ddc22bfff143b81d5945992d8c5fccf387f4
GitHub-Last-Rev: aa637756e7
GitHub-Pull-Request: golang/go#36054
Reviewed-on: https://go-review.googlesource.com/c/go/+/210497
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
5e35845a4a
commit
207a0b7933
3 changed files with 11 additions and 11 deletions
|
|
@ -19,8 +19,8 @@ type InternalExample struct {
|
|||
Unordered bool
|
||||
}
|
||||
|
||||
// An internal function but exported because it is cross-package; part of the implementation
|
||||
// of the "go test" command.
|
||||
// RunExamples is an internal function but exported because it is cross-package;
|
||||
// it is part of the implementation of the "go test" command.
|
||||
func RunExamples(matchString func(pat, str string) (bool, error), examples []InternalExample) (ok bool) {
|
||||
_, ok = runExamples(matchString, examples)
|
||||
return ok
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue