Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dgraph-io/dgraph
/ TestParse6_Error
Function
TestParse6_Error
schema/parse_test.go:263–268 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
261
}
262
263
func
TestParse6_Error(t *testing.T) {
264
reset()
265
result, err := Parse(
"pass:password @index ."
)
266
require.Error(t, err)
267
require.Nil(t, result)
268
}
269
270
func
TestParse7_Error(t *testing.T) {
271
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