1
0
mirror of https://github.com/json-iterator/go.git synced 2025-06-15 22:50:24 +02:00

consolidate more tests

This commit is contained in:
Tao Wen
2018-02-14 08:39:18 +08:00
parent e3bc511e5a
commit 64c1c67885
8 changed files with 133 additions and 196 deletions

View File

@ -11,6 +11,11 @@ func init() {
Field interface{}
})(nil),
input: `{"Field": "hello"}`,
}, unmarshalCase{
ptr: (*struct {
Field int `json:"field"`
})(nil),
input: `{"field": null}`,
})
marshalCases = append(marshalCases,
struct {