mirror of https://github.com/goccy/go-json.git
Add test case
This commit is contained in:
parent
f8fd59516b
commit
23c5766bd2
|
@ -1063,7 +1063,6 @@ var unmarshalTests = []unmarshalTest{
|
||||||
out: []byteWithPtrMarshalJSON{1, 2, 3},
|
out: []byteWithPtrMarshalJSON{1, 2, 3},
|
||||||
golden: true,
|
golden: true,
|
||||||
},
|
},
|
||||||
/*
|
|
||||||
{
|
{
|
||||||
in: `"AQID"`, // 108
|
in: `"AQID"`, // 108
|
||||||
ptr: new([]byteWithPtrMarshalText),
|
ptr: new([]byteWithPtrMarshalText),
|
||||||
|
@ -1075,7 +1074,7 @@ var unmarshalTests = []unmarshalTest{
|
||||||
out: []byteWithPtrMarshalText{1, 2, 3},
|
out: []byteWithPtrMarshalText{1, 2, 3},
|
||||||
golden: true,
|
golden: true,
|
||||||
},
|
},
|
||||||
*/
|
|
||||||
// ints work with the marshaler but not the base64 []byte case
|
// ints work with the marshaler but not the base64 []byte case
|
||||||
{
|
{
|
||||||
in: `["Z01","Z02","Z03"]`, // 110
|
in: `["Z01","Z02","Z03"]`, // 110
|
||||||
|
|
Loading…
Reference in New Issue