mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
reflect: recognize unnamed directional channels
go test github.com/onsi/gomega/gbytes now passes at tip, and tests added to the reflect package. Fixes #14645 Change-Id: I16216c1a86211a1103d913237fe6bca5000cf885 Reviewed-on: https://go-review.googlesource.com/20221 Run-TryBot: David Crawshaw <crawshaw@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
4c69e92f51
commit
69285a8b46
4 changed files with 14 additions and 2 deletions
|
|
@ -5019,6 +5019,8 @@ var nameTests = []nameTest{
|
|||
{[]D1{}, ""},
|
||||
{(chan D1)(nil), ""},
|
||||
{(func() D1)(nil), ""},
|
||||
{(<-chan D1)(nil), ""},
|
||||
{(chan<- D1)(nil), ""},
|
||||
}
|
||||
|
||||
func TestNames(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue