mirror of
https://github.com/golang/go
synced 2024-11-25 04:07:55 -07: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
@ -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…
Reference in New Issue
Block a user