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

Function TestParse8_Error

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

Source from the content-addressed store, hash-verified

275}
276
277func TestParse8_Error(t *testing.T) {
278 reset()
279 result, err := Parse("dob:dateTime @index .")
280 require.Error(t, err)
281 require.Nil(t, result)
282}
283
284func TestParse9_Error(t *testing.T) {
285 reset()

Callers

nothing calls this directly

Calls 3

resetFunction · 0.85
ParseFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected