mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
reflect: rename new TestVariadic to TestVariadicType.
R=nigeltao CC=golang-dev https://golang.org/cl/4825050
This commit is contained in:
parent
fc1cf58809
commit
c913cb8ba5
1 changed files with 1 additions and 1 deletions
|
|
@ -1327,7 +1327,7 @@ func TestImportPath(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestVariadic(t *testing.T) {
|
||||
func TestVariadicType(t *testing.T) {
|
||||
// Test example from Type documentation.
|
||||
var f func(x int, y ...float64)
|
||||
typ := TypeOf(f)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue