improve unit testing case for gjson

This commit is contained in:
John 2020-03-09 09:00:38 +08:00
parent 042a6f12f5
commit 3bc3b652c1

View File

@ -136,7 +136,7 @@ func Test_GetMap(t *testing.T) {
gtest.Assert(err, nil)
gtest.Assert(j.GetMap("n"), nil)
gtest.Assert(j.GetMap("m"), g.Map{"k": "v"})
gtest.Assert(j.GetMap("a"), nil)
gtest.Assert(j.GetMap("a"), g.Map{"1": "2", "3": nil})
})
}