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