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

Function TestParse6_Error

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

Source from the content-addressed store, hash-verified

261}
262
263func TestParse6_Error(t *testing.T) {
264 reset()
265 result, err := Parse("pass:password @index .")
266 require.Error(t, err)
267 require.Nil(t, result)
268}
269
270func TestParse7_Error(t *testing.T) {
271 reset()

Callers

nothing calls this directly

Calls 3

resetFunction · 0.85
ParseFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected