Fix test case

This commit is contained in:
Masaaki Goshima 2020-08-14 16:01:24 +09:00
parent 42368dcccb
commit 5e9696f57f
1 changed files with 3 additions and 0 deletions

View File

@ -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