mirror of
https://github.com/json-iterator/go.git
synced 2025-04-20 11:28:49 +02:00
explit test case sensitive for #252
This commit is contained in:
parent
06e0f9391e
commit
4930b053b8
@ -78,6 +78,16 @@ func init() {
|
|||||||
K string
|
K string
|
||||||
})(nil),
|
})(nil),
|
||||||
input: `{"a":"1","b":"2","c":"3","d":"4","e":"5","f":"6","g":"7","h":"8","i":"9","j":"10","k":"11"}`,
|
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,
|
marshalCases = append(marshalCases,
|
||||||
struct {
|
struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user