Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
277
func
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
284
func
TestParse9_Error(t *testing.T) {
285
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