Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
221
func
TestParse(t *testing.T) {
222
reset()
223
_, err := Parse(
"age:int @index . name:string"
)
224
require.Error(t, err)
225
}
226
227
func
TestParse2(t *testing.T) {
228
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