Merge pull request #1 from fainc/master

Update util/gconv/gconv_z_unit_scan_test.go
This commit is contained in:
PickMeUp
2025-06-20 19:23:04 +08:00
committed by GitHub

View File

@ -432,7 +432,9 @@ func TestScanDeepSlice(t *testing.T) {
data2 = gjson.New("[[[1,2,3]],[[4,5,6]]]")
)
err := data1.Scan(&req)
t.AssertNil(err)
err = gconv.Scan(data1.String(), &req)
t.AssertNil(err)
err = data2.Scan(&req2)
t.AssertNil(err)
t.Assert(len(req), 2)