]> Cypherpunks repositories - gostls13.git/commitdiff
reflect: rename new TestVariadic to TestVariadicType.
authorDavid Symonds <dsymonds@golang.org>
Wed, 27 Jul 2011 03:44:57 +0000 (13:44 +1000)
committerDavid Symonds <dsymonds@golang.org>
Wed, 27 Jul 2011 03:44:57 +0000 (13:44 +1000)
R=nigeltao
CC=golang-dev
https://golang.org/cl/4825050

src/pkg/reflect/all_test.go

index 15c69c1f069773faded5b143cb5f4c0b91071be3..257278e8f4fe17db86452e9a98b59c6e5fdb77ff 100644 (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)