1
0
mirror of https://github.com/json-iterator/go.git synced 2024-11-24 08:22:14 +02:00

add more test for #252

This commit is contained in:
Tao Wen 2018-04-18 16:22:47 +08:00
parent a949c42748
commit 51dd70305b

View File

@ -88,6 +88,11 @@ func init() {
T float64 `json:"T"`
})(nil),
input: `{"T":10.0}`,
}, unmarshalCase{
ptr: (*struct {
T float64 `json:"t"`
})(nil),
input: `{"T":10.0}`,
})
marshalCases = append(marshalCases,
struct {