fix: ci failed

This commit is contained in:
Halimao 2024-06-18 13:54:53 +08:00
parent a1d592f085
commit 142712cf5d

View file

@ -642,7 +642,7 @@ func TestDecimalUnmarshalJSON(t *testing.T) {
{
name: "valid number MaxInt64 string",
d: &d,
args: args{[]byte(fmt.Sprintf(`"%d"`, math.MaxInt64))},
args: args{[]byte(fmt.Sprintf(`"%d"`, int64(math.MaxInt64)))},
wantErr: false,
expectedVal: math.MaxInt64,
},