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

Function TestNewExecutionFrameInvalidInput

interpreter/frame_test.go:478–484  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

476}
477
478func TestNewExecutionFrameInvalidInput(t *testing.T) {
479 f, err := NewExecutionFrame(123)
480 if err == nil {
481 f.Close()
482 t.Error("NewExecutionFrame with int input did not return error")
483 }
484}
485
486func TestFramePopBaseFrame(t *testing.T) {
487 f := mustNewExecutionFrame(t, EmptyActivation())

Callers

nothing calls this directly

Calls 3

CloseMethod · 0.95
NewExecutionFrameFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected