Skip to content

Commit b08a14f

Browse files
committed
test fix
1 parent 2a7a1f1 commit b08a14f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

request_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ func Test_choiceStructMapping(t *testing.T) {
10351035
t.Errorf("expected \"images\" to be the first field, but got %d", imageField.FieldNum)
10361036
}
10371037
videoField, ok := result["videos"]
1038-
if !ok || videoField.FieldNum != 2 {
1038+
if !ok || videoField.FieldNum != 1 {
10391039
t.Errorf("expected \"videos\" to be the third field, but got %d", videoField.FieldNum)
10401040
}
10411041
}

0 commit comments

Comments
 (0)