mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
Update util/gconv/gconv_z_unit_scan_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user