Skip to content
This repository was archived by the owner on Dec 15, 2025. It is now read-only.

Commit 51dd703

Browse files
committed
add more test for #252
1 parent a949c42 commit 51dd703

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

value_tests/struct_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ func init() {
8888
T float64 `json:"T"`
8989
})(nil),
9090
input: `{"T":10.0}`,
91+
}, unmarshalCase{
92+
ptr: (*struct {
93+
T float64 `json:"t"`
94+
})(nil),
95+
input: `{"T":10.0}`,
9196
})
9297
marshalCases = append(marshalCases,
9398
struct {

0 commit comments

Comments
 (0)