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:
parent
a949c42748
commit
51dd70305b
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user