1
0
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:
David Symonds 2011-07-27 13:44:57 +10:00
parent fc1cf58809
commit c913cb8ba5

View File

@ -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)