mirror of https://github.com/goccy/go-json.git
Fix test case
This commit is contained in:
parent
42368dcccb
commit
5e9696f57f
|
@ -223,6 +223,9 @@ func trim(b []byte) []byte {
|
||||||
var jsonBig []byte
|
var jsonBig []byte
|
||||||
|
|
||||||
func initBig() {
|
func initBig() {
|
||||||
|
if len(jsonBig) > 0 {
|
||||||
|
return
|
||||||
|
}
|
||||||
n := 10000
|
n := 10000
|
||||||
if testing.Short() {
|
if testing.Short() {
|
||||||
n = 100
|
n = 100
|
||||||
|
|
Loading…
Reference in New Issue