Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
234
func
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
241
func
TestParse4_Error(t *testing.T) {
242
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