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

Function TestParse

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

Source from the content-addressed store, hash-verified

219}
220
221func TestParse(t *testing.T) {
222 reset()
223 _, err := Parse("age:int @index . name:string")
224 require.Error(t, err)
225}
226
227func TestParse2(t *testing.T) {
228 reset()

Callers

nothing calls this directly

Calls 3

resetFunction · 0.85
ParseFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected