mirror of https://github.com/goccy/go-json.git
Revert json_test.go
This commit is contained in:
parent
02e04238a2
commit
91a2768d1a
|
@ -222,7 +222,6 @@ func trim(b []byte) []byte {
|
|||
|
||||
var (
|
||||
jsonBig []byte
|
||||
jsonVal interface{}
|
||||
)
|
||||
|
||||
func initBig() {
|
||||
|
@ -233,8 +232,8 @@ func initBig() {
|
|||
if testing.Short() {
|
||||
n = 100
|
||||
}
|
||||
jsonVal = genValue(n)
|
||||
b, err := json.Marshal(jsonVal)
|
||||
v := genValue(n)
|
||||
b, err := json.Marshal(v)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue