Skip to content

Commit 5faab7e

Browse files
committed
2
Change-Id: I16effa5e23bde4c91fecb229e0c9a4a5bc42a2ec
1 parent 8ff8431 commit 5faab7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reflect/type_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func TestType_CanSeq(t *testing.T) {
133133
{"map[int]int", reflect.TypeOf(make(map[int]int)), true},
134134
{"string", reflect.TypeOf(""), true},
135135
{"[]int", reflect.TypeOf([]int{}), true},
136-
{"methodIter.Seq", reflect.ValueOf(methodIter{}).Method(0).Type(), true},
136+
{"methodIter", reflect.ValueOf(methodIter{}).Method(0).Type(), true},
137137
}
138138
for _, tt := range tests {
139139
t.Run(tt.name, func(t *testing.T) {
@@ -159,7 +159,7 @@ func TestType_CanSeq2(t *testing.T) {
159159
{"map[int]int", reflect.TypeOf(make(map[int]int)), true},
160160
{"string", reflect.TypeOf(""), true},
161161
{"[]int", reflect.TypeOf([]int{}), true},
162-
{"methodIter2.Seq2", reflect.ValueOf(methodIter2{}).Method(0).Type(), true},
162+
{"methodIter2", reflect.ValueOf(methodIter2{}).Method(0).Type(), true},
163163
}
164164
for _, tt := range tests {
165165
t.Run(tt.name, func(t *testing.T) {

0 commit comments

Comments
 (0)