Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ newTestRegistry
Function
newTestRegistry
checker/env_test.go:93–100 ·
view source on GitHub ↗
(t testing.TB)
Source
from the content-addressed store, hash-verified
91
}
92
93
func
newTestRegistry(t testing.TB) *types.Registry {
94
t.Helper()
95
reg, err := types.NewRegistry()
96
if
err != nil {
97
t.Fatalf(
"types.NewRegistry() failed: %v"
, err)
98
}
99
return
reg
100
}
Callers
8
TestCheckErrorData
Function · 0.70
TestCheckInvalidOptSelectMember
Function · 0.70
TestCheckInvalidOptSelectMissingArg
Function · 0.70
TestCheckInvalidLiteral
Function · 0.70
TestVarsInheritance
Function · 0.70
TestCopyDeclarations
Function · 0.70
BenchmarkNewStdEnv
Function · 0.70
newStdEnv
Function · 0.70
Calls
1
NewRegistry
Function · 0.92
Tested by
no test coverage detected