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

Function TestNewExecutionFrameInvalidInput

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

Source from the content-addressed store, hash-verified

459}
460
461func TestNewExecutionFrameInvalidInput(t *testing.T) {
462 f, err := NewExecutionFrame(123)
463 if err == nil {
464 f.Close()
465 t.Error("NewExecutionFrame with int input did not return error")
466 }
467}
468
469func TestFramePopBaseFrame(t *testing.T) {
470 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