MCPcopy
hub / github.com/tidwall/gjson / TestValid

Function TestValid

gjson_test.go:1941–1944  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1939}
1940
1941func TestValid(t *testing.T) {
1942 assert(t, Get("[{}", "@valid").Exists() == false)
1943 assert(t, Get("[{}]", "@valid").Exists() == true)
1944}
1945
1946// https://github.com/tidwall/gjson/issues/152
1947func TestJoin152(t *testing.T) {

Callers

nothing calls this directly

Calls 3

assertFunction · 0.85
GetFunction · 0.85
ExistsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…