]> Cypherpunks.ru repositories - gostls13.git/commit
reflect: add test for interface type NumMethod
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Wed, 22 Mar 2023 04:44:04 +0000 (11:44 +0700)
committerGopher Robot <gobot@golang.org>
Wed, 22 Mar 2023 16:39:08 +0000 (16:39 +0000)
commitefaca3170fc6d363704153586c7ad94255bf02c6
treecb052f92d59511f862128056aec1a3dae834c78e
parentcdf77c7209a497825b2956ec0360c6e7e4ae0acd
reflect: add test for interface type NumMethod

While at it, also use concrete type for non-interface type test.

Change-Id: Ie468c30ee31ba99ef8f9a810d3be851fd37b9b43
Reviewed-on: https://go-review.googlesource.com/c/go/+/478356
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/reflect/all_test.go