Skip to content

Commit

Permalink
Add UnrecognizedTagToAny option to TestDecOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
fxamacker committed Feb 5, 2024
1 parent dd2eb91 commit d68ecb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions decode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4878,6 +4878,7 @@ func TestDecOptions(t *testing.T) {
DefaultByteStringType: reflect.TypeOf(""),
ByteStringToString: ByteStringToStringAllowed,
FieldNameByteString: FieldNameByteStringAllowed,
UnrecognizedTagToAny: UnrecognizedTagContentToAny,
}
ov := reflect.ValueOf(opts1)
for i := 0; i < ov.NumField(); i++ {
Expand Down

0 comments on commit d68ecb4

Please sign in to comment.