Skip to content

Commit 2da2d67

Browse files
authored
Merge pull request #484 from fxamacker/fxamacker/test-new-decoding-option-in-decoption-to-decmode-roundtrip
Add `UnrecognizedTagToAny` option to `TestDecOptions`
2 parents dd2eb91 + d68ecb4 commit 2da2d67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

decode_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -4878,6 +4878,7 @@ func TestDecOptions(t *testing.T) {
48784878
DefaultByteStringType: reflect.TypeOf(""),
48794879
ByteStringToString: ByteStringToStringAllowed,
48804880
FieldNameByteString: FieldNameByteStringAllowed,
4881+
UnrecognizedTagToAny: UnrecognizedTagContentToAny,
48814882
}
48824883
ov := reflect.ValueOf(opts1)
48834884
for i := 0; i < ov.NumField(); i++ {

0 commit comments

Comments
 (0)