MCPcopy 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
93func 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

TestCheckErrorDataFunction · 0.70
TestCheckInvalidLiteralFunction · 0.70
TestVarsInheritanceFunction · 0.70
TestCopyDeclarationsFunction · 0.70
BenchmarkNewStdEnvFunction · 0.70
newStdEnvFunction · 0.70

Calls 1

NewRegistryFunction · 0.92

Tested by

no test coverage detected