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

Function TestFramePopBaseFrame

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

Source from the content-addressed store, hash-verified

467}
468
469func TestFramePopBaseFrame(t *testing.T) {
470 f := mustNewExecutionFrame(t, EmptyActivation())
471 defer f.Close()
472
473 popped := f.Pop()
474 if popped != f {
475 t.Errorf("pop() on base frame got %v, want %v", popped, f)
476 }
477}
478
479func TestLazyVariableResolution(t *testing.T) {
480 lazyRefValCalled := 0

Callers

nothing calls this directly

Calls 4

mustNewExecutionFrameFunction · 0.85
EmptyActivationFunction · 0.85
CloseMethod · 0.80
PopMethod · 0.45

Tested by

no test coverage detected