mirror of
https://github.com/golang/go
synced 2024-11-22 01:24:42 -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