mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
fix issue in unit test case for gvar
This commit is contained in:
@ -333,7 +333,7 @@ func Test_Json(t *testing.T) {
|
||||
})
|
||||
|
||||
gtest.Case(t, func() {
|
||||
s := math.MaxInt64
|
||||
s := int64(math.MaxInt64)
|
||||
v := gvar.New(s)
|
||||
b1, err1 := json.Marshal(v)
|
||||
b2, err2 := json.Marshal(s)
|
||||
|
||||
Reference in New Issue
Block a user