summaryrefslogtreecommitdiff
path: root/src/pkg/reflect/all_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/reflect/all_test.go')
-rw-r--r--src/pkg/reflect/all_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/reflect/all_test.go b/src/pkg/reflect/all_test.go
index 83bc6a92f..89e429ec2 100644
--- a/src/pkg/reflect/all_test.go
+++ b/src/pkg/reflect/all_test.go
@@ -226,7 +226,7 @@ func TestAll(t *testing.T) { // TODO(r): wrap up better
t.Errorf("FieldByName says absent field is present");
}
- typ = Typeof(([32]int32)(nil));
+ typ = Typeof([32]int32{});
testType(t, 7, typ, "[32]int32");
testType(t, 8, typ.(*ArrayType).Elem(), "int32");