(t *testing.T)
| 2756 | } |
| 2757 | |
| 2758 | func TestFolderActivation(t *testing.T) { |
| 2759 | parentAct := EmptyActivation() |
| 2760 | frame := mustNewExecutionFrame(t, parentAct) |
| 2761 | defer frame.Close() |
| 2762 | fld := newFolder(&evalFold{}, frame) |
| 2763 | defer releaseFolder(fld) |
| 2764 | if fld.Parent() != frame { |
| 2765 | t.Errorf("fld.Parent() = %v, wanted %v", fld.Parent(), frame) |
| 2766 | } |
| 2767 | if fld.Unwrap() != frame { |
| 2768 | t.Errorf("fld.Unwrap() = %v, wanted %v", fld.Unwrap(), frame) |
| 2769 | } |
| 2770 | } |
| 2771 | |
| 2772 | func TestEvalWatchConstructor(t *testing.T) { |
| 2773 | watchConst := &evalWatchConstructor{ |
nothing calls this directly
no test coverage detected