Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
Change-Id: I16effa5e23bde4c91fecb229e0c9a4a5bc42a2ec
  • Loading branch information
callthingsoff committed Feb 22, 2025
1 parent 8ff8431 commit 5faab7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reflect/type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func TestType_CanSeq(t *testing.T) {
{"map[int]int", reflect.TypeOf(make(map[int]int)), true},
{"string", reflect.TypeOf(""), true},
{"[]int", reflect.TypeOf([]int{}), true},
{"methodIter.Seq", reflect.ValueOf(methodIter{}).Method(0).Type(), true},
{"methodIter", reflect.ValueOf(methodIter{}).Method(0).Type(), true},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand All @@ -159,7 +159,7 @@ func TestType_CanSeq2(t *testing.T) {
{"map[int]int", reflect.TypeOf(make(map[int]int)), true},
{"string", reflect.TypeOf(""), true},
{"[]int", reflect.TypeOf([]int{}), true},
{"methodIter2.Seq2", reflect.ValueOf(methodIter2{}).Method(0).Type(), true},
{"methodIter2", reflect.ValueOf(methodIter2{}).Method(0).Type(), true},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
Expand Down

0 comments on commit 5faab7e

Please sign in to comment.