Skip to content

Commit

Permalink
Merge pull request #484 from fxamacker/fxamacker/test-new-decoding-op…
Browse files Browse the repository at this point in the history
…tion-in-decoption-to-decmode-roundtrip

Add `UnrecognizedTagToAny` option to `TestDecOptions`
  • Loading branch information
fxamacker authored Feb 5, 2024
2 parents dd2eb91 + d68ecb4 commit 2da2d67
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 2da2d67

Please sign in to comment.