Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dgraph-io/dgraph
/ TestParse7_Error
Function
TestParse7_Error
schema/parse_test.go:270–275 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
268
}
269
270
func
TestParse7_Error(t *testing.T) {
271
reset()
272
result, err := Parse(
"name:string @index ."
)
273
require.Error(t, err)
274
require.Nil(t, result)
275
}
276
277
func
TestParse8_Error(t *testing.T) {
278
reset()
Callers
nothing calls this directly
Calls
3
reset
Function · 0.85
Parse
Function · 0.70
Error
Method · 0.45
Tested by
no test coverage detected