MCPcopy Create free account
hub / github.com/cel-expr/cel-go / newTestPartialActivation

Function newTestPartialActivation

interpreter/interpreter_test.go:2653–2660  ·  view source on GitHub ↗
(t testing.TB, in any, unknowns ...*AttributePattern)

Source from the content-addressed store, hash-verified

2651}
2652
2653func newTestPartialActivation(t testing.TB, in any, unknowns ...*AttributePattern) any {
2654 t.Helper()
2655 vars, err := NewPartialActivation(in, unknowns...)
2656 if err != nil {
2657 t.Fatalf("NewPartialActivation(%v) failed: %v", in, err)
2658 }
2659 return vars
2660}
2661
2662// newStandardInterpreter builds a Dispatcher and TypeProvider with support for all of the CEL
2663// builtins defined in the language definition.

Callers 1

testDataFunction · 0.85

Calls 1

NewPartialActivationFunction · 0.85

Tested by

no test coverage detected