MCPcopy
hub / github.com/dgraph-io/dgraph / TestParseQueryListPred1

Function TestParseQueryListPred1

dql/parser_test.go:169–181  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

167}
168
169func TestParseQueryListPred1(t *testing.T) {
170 query := `
171 {
172 var(func: uid( 0x0a)) {
173 friends {
174 expand(_all_)
175 }
176 }
177 }
178`
179 _, err := Parse(Request{Str: query})
180 require.NoError(t, err)
181}
182
183func TestParseQueryExpandForward(t *testing.T) {
184 query := `

Callers

nothing calls this directly

Calls 1

ParseFunction · 0.70

Tested by

no test coverage detected