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

Function TestFramePopBaseFrame

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

Source from the content-addressed store, hash-verified

484}
485
486func TestFramePopBaseFrame(t *testing.T) {
487 f := mustNewExecutionFrame(t, EmptyActivation())
488 defer f.Close()
489
490 popped := f.Pop()
491 if popped != f {
492 t.Errorf("pop() on base frame got %v, want %v", popped, f)
493 }
494}
495
496func TestLazyVariableResolution(t *testing.T) {
497 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