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 ( var (
jsonBig []byte jsonBig []byte
jsonVal interface{}
) )
func initBig() { func initBig() {
@ -233,8 +232,8 @@ func initBig() {
if testing.Short() { if testing.Short() {
n = 100 n = 100
} }
jsonVal = genValue(n) v := genValue(n)
b, err := json.Marshal(jsonVal) b, err := json.Marshal(v)
if err != nil { if err != nil {
panic(err) panic(err)
} }