We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ff8431 commit 5faab7eCopy full SHA for 5faab7e
src/reflect/type_test.go
@@ -133,7 +133,7 @@ func TestType_CanSeq(t *testing.T) {
133
{"map[int]int", reflect.TypeOf(make(map[int]int)), true},
134
{"string", reflect.TypeOf(""), true},
135
{"[]int", reflect.TypeOf([]int{}), true},
136
- {"methodIter.Seq", reflect.ValueOf(methodIter{}).Method(0).Type(), true},
+ {"methodIter", reflect.ValueOf(methodIter{}).Method(0).Type(), true},
137
}
138
for _, tt := range tests {
139
t.Run(tt.name, func(t *testing.T) {
@@ -159,7 +159,7 @@ func TestType_CanSeq2(t *testing.T) {
159
160
161
162
- {"methodIter2.Seq2", reflect.ValueOf(methodIter2{}).Method(0).Type(), true},
+ {"methodIter2", reflect.ValueOf(methodIter2{}).Method(0).Type(), true},
163
164
165
0 commit comments