diff --git a/gjson_hack/path_test.go b/gjson_hack/path_test.go index 41b4914..5654f1e 100644 --- a/gjson_hack/path_test.go +++ b/gjson_hack/path_test.go @@ -96,13 +96,14 @@ func TestPathOnlyFinallyPathWithUnfoldArray(t *testing.T) { "company_info": map[string]any{ "address": "Beijing", "email": "xxx@xxx.com", + "a.b": "cd", }, "sex": "man", "user_list": [][]map[string]any{ []map[string]any{ - {"name": "zhang", "age": 10}, - {"name": "li", "age": 20}, - {"name": "wang", "age": 30}, + {"name": "zhang", "age": 10, "e.f": "g"}, + {"name": "li", "age": 20, "e.f": "g"}, + {"name": "wang", "age": 30, "e.f": "g"}, }, []map[string]any{ {"name": "zhang", "age": 10},