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

Function TestParse3_Error

schema/parse_test.go:234–239  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

232}
233
234func TestParse3_Error(t *testing.T) {
235 reset()
236 result, err := Parse("age:uid @index .")
237 require.Error(t, err)
238 require.Nil(t, result)
239}
240
241func TestParse4_Error(t *testing.T) {
242 reset()

Callers

nothing calls this directly

Calls 3

resetFunction · 0.85
ParseFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected