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

Function TestFramePopBaseFrame

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

Source from the content-addressed store, hash-verified

610}
611
612func TestFramePopBaseFrame(t *testing.T) {
613 f := mustNewExecutionFrame(t, EmptyActivation())
614 defer f.Close()
615
616 popped := f.Pop()
617 if popped != f {
618 t.Errorf("pop() on base frame got %v, want %v", popped, f)
619 }
620}
621
622func TestLazyVariableResolution(t *testing.T) {
623 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