(t testing.TB, in any, unknowns ...*AttributePattern)
| 2651 | } |
| 2652 | |
| 2653 | func 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. |
no test coverage detected