1
0
mirror of https://github.com/json-iterator/go.git synced 2025-02-19 19:59:49 +02:00

explit test case sensitive for #252

This commit is contained in:
Tao Wen 2018-03-24 22:38:32 +08:00
parent 06e0f9391e
commit 4930b053b8

View File

@ -78,6 +78,16 @@ func init() {
K string
})(nil),
input: `{"a":"1","b":"2","c":"3","d":"4","e":"5","f":"6","g":"7","h":"8","i":"9","j":"10","k":"11"}`,
}, unmarshalCase{
ptr: (*struct {
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 {