Revert json_test.go

This commit is contained in:
Masaaki Goshima 2020-09-04 21:46:16 +09:00
parent 02e04238a2
commit 91a2768d1a
1 changed files with 2 additions and 3 deletions

View File

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