1
0
mirror of https://github.com/gogf/gf.git synced 2025-04-05 11:18:50 +08:00

Improving gjson Code Coverage

This commit is contained in:
huangqian 2022-02-24 20:14:44 +08:00
parent da465bb030
commit 298aa5f040

View File

@ -67,6 +67,11 @@ func Test_MapAttributeConvert(t *testing.T) {
t.Assert(tx.Title, g.Map{
"l1": "标签1", "l2": "标签2",
})
j.Dump()
var nilJ *gjson.Json = nil
nilJ.Dump()
})
gtest.C(t, func(t *gtest.T) {