mirror of
https://github.com/json-iterator/go.git
synced 2024-11-27 08:30:57 +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"`
|
T float64 `json:"T"`
|
||||||
})(nil),
|
})(nil),
|
||||||
input: `{"T":10.0}`,
|
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…
Reference in New Issue
Block a user