(t *testing.T)
| 466 | } |
| 467 | |
| 468 | func TestFrameSetContextChildError(t *testing.T) { |
| 469 | ctx := context.Background() |
| 470 | f := mustNewExecutionFrame(t, EmptyActivation()) |
| 471 | defer f.Close() |
| 472 | |
| 473 | child := f.Push(EmptyActivation()) |
| 474 | defer child.Pop() |
| 475 | |
| 476 | if err := child.SetContext(ctx, 1); err == nil { |
| 477 | t.Error("expected SetContext on a child frame to return an error, got nil") |
| 478 | } |
| 479 | } |
| 480 | |
| 481 | func TestNewExecutionFrameInvalidInput(t *testing.T) { |
| 482 | f, err := NewExecutionFrame(123) |
nothing calls this directly
no test coverage detected