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

Function TestNewExecutionFrameInvalidInput

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

Source from the content-addressed store, hash-verified

479}
480
481func TestNewExecutionFrameInvalidInput(t *testing.T) {
482 f, err := NewExecutionFrame(123)
483 if err == nil {
484 f.Close()
485 t.Error("NewExecutionFrame with int input did not return error")
486 }
487}
488
489func TestNewExecutionFrameGlobals(t *testing.T) {
490 tests := []struct {

Callers

nothing calls this directly

Calls 3

CloseMethod · 0.95
NewExecutionFrameFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected